Grafana allows browsing operating system-level logs recorded in files.

To browse log files with Grafana

  1. In the left sidebar of the Grafana portal, click the compass icon and select Explore.
  2. In the top list, select Loki.
  3. In the Label filters list, select filename.
  4. In the Select value field, select a log file.
  5. Click +Operations to filter the file contents.
  6. Click +Add query to include the contents of additional files.
  7. In the top-right corner, click Run query to display the selected contents.