> For the complete documentation index, see [llms.txt](https://devs.peerplays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devs.peerplays.com/supporting-and-reference-docs/grafana/grafana-explorer.md).

# Grafana Explorer

### Loki Datasource configuration in Grafana

1\. Login to Grafana and click **Explore** on the left pane

<figure><img src="https://215243609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McxsyggfxkblmD-4Tzy%2Fuploads%2F1KjXjB49DCrGaOSWrd4p%2Fgrafana.jpg?alt=media&amp;token=34caec52-8867-49b3-a3c2-6ada838d15d5" alt=""><figcaption></figcaption></figure>

2\. Click add data source and select Loki.

3\. Set the name as Loki, URL as the domain name or IP address and port number.

<figure><img src="https://215243609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McxsyggfxkblmD-4Tzy%2Fuploads%2FMfWqf4aOoo4NPrf0tqPO%2Fgrafana-1.jpg?alt=media&amp;token=f3e31a44-595e-4853-a04d-306ed344f535" alt=""><figcaption></figcaption></figure>

4\. You can now click Explore and set Loki at your data source - Select your job label and run query to check the logs.

<figure><img src="https://215243609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McxsyggfxkblmD-4Tzy%2Fuploads%2FaPze8IjMBg3XMIwBlCpX%2Fgrafana-2.jpg?alt=media&amp;token=7bc413b5-b7dd-4b0e-88f8-5eab4a11801b" alt=""><figcaption></figcaption></figure>

5\. The logs for the selected job will be displayed in the below format

<figure><img src="https://215243609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McxsyggfxkblmD-4Tzy%2Fuploads%2FgND8gTEU3PTGXfXyZHON%2Fgrafana-3.jpg?alt=media&amp;token=f11c8bc0-c4a1-40ee-b06d-ae761a1f5320" alt=""><figcaption></figcaption></figure>
