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!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...