We will look at the logs panel, but we will first need to setup a data source that can read log files.
We will use the Loki Data Source with the Promtail client as the collector on the Grafana Server itself.
And then I will demonstrate using the Log Panel, and linking it with graphs using Annotation Queries.
- Install Loki Binary and Start as a Service
- Install Promtail Binary and Start as a Service
- Configure Loki Data Source and Explore
- Create a Dashboard with a Graph and Log panel, and link them with Annotations