Dashboards & Visualizations

Can dashboard creation be automated?

rachelnarios
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

bowesmana
SplunkTrust
SplunkTrust

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

aberkow
Builder

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!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...