Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Troubleshooting
This page address common issues when getting started and using Explore Logs.
Ensure Loki is properly configured
To use Explore Logs, you need to have Loki properly configured. You can find full instructions on how to do this when installing Explore Logs.
There are no services
If everything is presented as an unknown_service
when you access Explore Logs, you can try the following fixes:
- Ensure the Volume API is enabled by setting the
volume_enabled
configuration value in Loki. Enabled by default in Loki 3.1 and later. - Specify the label to use to identify services by setting the
discover_service_name
configuration value in Loki.
There are no detected levels
If you do not see detected_level
values in Explore Logs, you can try the following fixes:
- Ensure level detection is enabled by setting the
discover_log_levels
configuration value. Enabled by default in Loki 3.1 and later.
There are no labels
If you do not see any labels in Explore Logs, you can try the following fixes:
- Ensure your collector is properly configured to attach them.
To learn more about Labels, refer to the Loki labels documentation.
There are no patterns
Patterns are ephemeral and will only be available for the previous three hours.
If you aren’t getting any patterns, you can try the following fixes:
- Ensure pattern extraction is enabled by setting
--pattern-ingester.enabled=true
in your Loki config. Learn about other necessary config. - It is possible that no patterns were detected, although this is rare - please open an issue on GitHub or get in touch privately so we can see what’s going on.
I cannot find something
Please open an issue on GitHub or get in touch privately and let us know what’s not working for you.
If you have something urgent, please get in touch via support. Grafana Cloud users can open a support ticket here.