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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...