0

When I search for logs in graylog and display the log level I only see the number of the level. I'd like to be able to see the corresponding string (Alert[1] or Error[7]) like it is displayed in the images of these two links:

I am logging through logback with the message pattern:

<pattern>%relative%thread%mdc%level%logger%msg</pattern>

Community
  • 1
  • 1
yenox
  • 335
  • 5
  • 17

1 Answers1

2

That is a known issue in Graylog 1.1 or newer. From the issue (https://github.com/Graylog2/graylog2-web-interface/issues/1630):

In the search result view and message detail view the special field 'level' get rendered with the numeric value from message.fields and not message.formatted_fields.

e.g. instead of Error [3] only 3 will be rendered.

Community
  • 1
  • 1