Hi Experts,
I created a small app "Testapp" which contains a small dashboard. Whenever I open my app, I am able to run my dashboard without any errors.
My requirement is, when I open my app "Testapp", my dashboard should be opened automatically and run. Is there any way to do the same?
I modified source through edit source option in User interface » Navigation menus » default as follows
<view name="search" />
<view name="data_models" />
<view name="reports" />
<view name="alerts" />
<view name="dashboards" default='true'/>
</nav>
So whenever I open app, I am landing into Dashboards successfully but my only dashboard in that app is not running automatically until I run it.
Please advice it on the same. Thanks in advnavce.
Its not working
Can you share your name of the xml file and the entry that you have made in the default.xml? Also share the location of the file.
Thanks for answering. Could you give me an example for my dashboard mentioned above?
Create default.xml file in your app under your_app/default/data/ui/nav/ folder.
Then choose the dashboard that you want to run as default.
eg.
I downvoted this post because solution did not work for me
How did you implemented it.
===================
I don't see the name of the dashboard in your question. You can get the view name by clicking on edit source on your dashboard. Put that name in the xml file as follows:
Refer attached image where we have default page as well as collection.
Blockquote
<view name="summary" default="true"/>
<collection label="Reports">
<view name="cmx_top_mac_address" />
<view name="cmx_device_by_location"/>
<view name="map_cordinates"/>
<view name="no_of_updates_per_mac_address"/>
<view name="no_of_sid_per_devices_over_week"/>
<view name="top_5_devices_by_duration"/>
<view name="top_5_devices_by_packets"/>
<view name="daily_licence_usage_by_cmx"/>
</collection>
Blockquote
Also ensure that you create default.xml file in $SPLUNK_HOME/etc/apps/Testapp/default/data/ui/nav/
Can you continue your example?