You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mykhailo Shevchuk edited this page Aug 30, 2021
·
3 revisions
From v7 sink does not create level label by default, so Grafana's parsing algorithms are used.
If you want to visualize different log levels in Grafana, you should set createLevelLabel to true while configuring sink.
But this feature does not work with a text formatters, implements ILabelAwareTextFormatter, cause in this case this label won't be created. But, for example, LokiJsonTextFormatter will provide output in json format with all required data. So Grafana will have a possibility to parse and visualize log level.