1. Login to Grafana and click Explore on the left pane
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.
4. You can now click Explore and set Loki at your data source - Select your job label and run query to check the logs.
5. The logs for the selected job will be displayed in the below format