Unable to find grafana dashboard json file location

Hi all,

  1. I have added a custom dashboard to grafana through Import JSON. I can see the dashboard on my UI but i am not able to find it in /etc/grafana/dashboards?where can I locate it?

Thanks,
Shankar.

1 Like

Hello @shankarpentyala and to anybody that might be having the same question at the present time.

The location of the folder containing the dashboard .json file will vary depending on the OS you run Grafana on. In addition, we would need to know the exact steps taken during the installation in order to provide you with an answer.

Hi there!

When you import a dashboard via the Grafana UI using the Import JSON feature, it doesn’t directly save the dashboard JSON to the file system (like /etc/grafana/dashboards). Instead, it is stored in Grafana’s database.

To locate the dashboard:

  • You can go to Grafana’s UI and navigate to the Dashboard settings to view or export the JSON.
  • Alternatively, you can export the dashboard JSON from the UI by clicking on the Dashboard settings (gear icon) > JSON model > Export.

If you’re using file-based provisioning for dashboards (which is typically stored in /etc/grafana/dashboards), dashboards added via the import process won’t show up in that directory unless explicitly saved there.

To locate dashboards that are part of your file-based provisioning, you’d need to check the configuration in the grafana.ini file and ensure the dashboard folder path is correctly specified.

Let me know if you need any more help!