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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...