When looking at logs in our account at Get started with Explore | Grafana documentation grafana it categorizes them as error, critical, unknown
We use pino for our logging which adds a numeric level to each log message based on severity
- info - 30
- warning - 40
- error - 50
- etc
Grafana interprets (most) level 30 and 40 logs as ‘unknown’ and 50 as ‘error’. Sometimes, however, it will flag the logs differently based on key words in the payload.
For example
- a log message that contains terminate or terminating will be flagged as critical
- log messages that contain ‘error’ (even “no errors” or an empty error property) will be flagged as error.
Where in the settings can we disable this ‘feature’ and have grafana accept our log level labels?