Promtail to set journal target symbolic priority #2084
Labels
component/agent
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
We would love help on these issues. Please come help us!
type/enhancement
Something existing could be improved
Hi!
Is your feature request related to a problem? Please describe.
I want to display journal logs in grafana by using promtail and loki. Promtail extracts logs fine but journal contains priority in number format, not symbolic. So if I use the following scrape config:
level
will be numeric and grafana will show unknown log level for it.Describe the solution you'd like
It would be great if numeric priority will be transformed to symbolic as it's done for syslog target. In this case I will be able to map it to level label which can be read by grafana and shown correctly.
Describe alternatives you've considered
I tried to set it up using pipelines but I wasn't successful in it.
Additional context
Note the level label (6 is an info):
The text was updated successfully, but these errors were encountered: