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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...