Using Graylog

Graylog is the current logging system of choice @GSI. The whole software stack constituting the control system should use this logging system and its mechanisms.

In order to use the Graylogweb-interface, log in with your ACC account on https://graylog.acc.gsi.de .

Please note that FESA binaries per default only log Warnings and Errors to Graylog. More details on that can be found on the FESA-Logging Wiki page.

Using Filters to find relevant log output

Select the stream 'All messages' on the left-hand side.

In the top-right corner, select the desired time-interval for your search.

Here an example query in order to display all logged level 3 errors of the FESA binary 'BumperDU_M':
program:BumperDU_M AND level:3

It is possible to save filters. These will be available in the drop-down list for all graylog users.

Example URL

https://graylog.acc.gsi.de/graylog/streams/000000000000000000000001/search?rangetype=relative&fields=message%2Csource&width=1212&highlightMessage=&relative=900&q=source%3Ascuxl0242

Observe log messages from a booting front-end

The log output of a front-end that is restarted can be seen using the graylog tail command on another console window in the asl cluster (asl73x/asl74x). An example is given below.

x@asl74x:lnx>graylog tail --source vmla10

Example: source device and time frame

https://graylog.acc.gsi.de/streams/000000000000000000000001/search?width=2560&saved=5ba49540c61a5f8e61cf88a5&from=2020-12-03T08%3A00%3A00.000Z&page=1&sortOrder=asc&q=<NOMENCLATURE>%20AND%20%28program%3A<some program>%20or%20program%3A<device software>%29&rangetype=absolute&fields=source%2Cmessage%2Cprogram&to=2020-12-03T12%3A00%3A00.000Z&sortField=timestamp

Search term on graylog.acc.gsi.de: <NOMENCLATURE> AND (program:<some program> or program:<device software>)

More Information

The graylog system is maintained by ACO IN. See https://www-acc.gsi.de/wiki/IN/DiagnosticLogging for more information.

-- SolveighMatthies - 21 Sep 2018
Topic revision: r4 - 03 May 2021, SolveighMatthies
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback