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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...