Dashboards & Visualizations

Can we create dashboards through a python script?

guru_mahesh
New Member

There are python scripts which add the data to Splunk , index it, query it etc.
In the similar way can we create a dashboard in Splunk through a python program

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@guru_mahesh

You can use REST API to create and update the dashboards. Please check below link for same.

https://docs.splunk.com/Documentation/Splunk/7.2.0/RESTREF/RESTknowledge#data.2Fui.2Fviews

0 Karma

manish_singh_77
Builder

@kamlesh_vaghela

Can we use python script to automate dashboard permissions in splunk?

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@manish_singh_777

Yes, You can use Splunk REST Api in python script to change dashboard permissions.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...