Dashboards & Visualizations

clone dashboard from the command line

yogb
New Member

Hi

How can I create a new dashboard from the command line?
I copy one of the dashboard xml files from /opt/splunk/etc/users/admin/search/local/data/ui/views/ modified the xml and put it back to /opt/splunk/etc/users/admin/search/local/data/ui/views/, I thought that a new dashboard will be created at the web UI but no Dashboard appear.

The same behiver is occuring when I am trying to modify the xml files manually from the command line, it seems that the changes are taking effect only when I modify the dashboard search from the splunk web UI.

I am using version 6.1.

Are they any other files that I should modify besides the xml under /opt/splunk/etc/users/admin/search/local/data/ui/views/

Thank you

Tags (2)
0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

After you make a manual change to the xml, issue this in a browser...... It will reload the dashboard xml for you.

https://YOUR-SPLUNK-SERVER:PORT/en-US/debug/refresh?entity=admin/views
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...