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: Identifying Unknown ...

Agentic AI powers the Splunk AI Assistant within the Splunk Observability Cloud interface to help you quickly ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...