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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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