What Grafana version and what operating system are you using?
Grafana v9.0.3 on Linux (Ubuntu 20.04)
What are you trying to achieve?
I want to display the quantity of logs (categorized by log type) in a bar graph format, while also detecting any unexpected logs that might indicate errors or anomalies.
How are you trying to achieve it?
By creating a dashboard panel in Grafana using a LogQL query that groups logs into categories and displays the count of each log type over time in a bar graph. I also want to set up a system that automatically identifies any new or unexpected log types that haven’t been seen before.
What happened?
The current setup can count and display logs in a bar graph but requires manual configuration for each type of log. I haven’t been able to find an efficient way to automatically detect and categorize unexpected logs.
What did you expect to happen?
I expected Grafana to automatically group similar logs, display their counts in bar graphs, and alert me to new or unexpected log types without needing manual configuration for each log type.
Can you copy/paste the configuration(s) that you are having problems with?
Here is an example of the LogQL query I am using: count_over_time({job=“log_file_name”}[1m])
This is giving me the log count but doesn’t automatically classify different types of logs or detect new ones.
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No errors in the UI, but the logs are currently only being categorized manually, which is difficult to scale.