Dashboards & Visualizations

Can dashboard creation be automated?

New Member

I would like to clone an existing dashboard automatically every time I upload a new file with a specific prefix (E.G: File-xx). The only element that would change in the dashboard code would be the search file name. Is there a way to do so?

0 Karma


cron with sed -i if running on unix? May not be what you're after and may not be responsive enough, but would also need to know what 'new' means in that context. (timestamp vs xx number)

0 Karma


Are you looking to do this in a source controlled manner? If so, you could source control the file mentioned in this answer https://answers.splunk.com/answers/445179/dashboard-xml-file-does-not-exist.html, and automatically insert a new template with that parameter passed through. I wouldn't suggest tampering with this file without source control, as you might delete everything 😧

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...