Referencing the article below, I modified the default file.
So now I have a navigation from Ponies Menu to Dashboards Option.
Now how do I set the navigation from Dashboards option to All the dashboards under it.
it should be ,
Ponies>>Dashboards >>
Dashboard A
Dashboard B
Dashboard C
Also how the Navigation Straight from Dashboards to all the underlying Dashboards.
<nav search_view="search" color="#65A637">
<view name="search" />
<view name="data_models" />
<view name="reports" default='true' />
<view name="alerts" />
<collection label="Ponies">
<view name="dashboards" />
</collection>
</nav>
http://docs.splunk.com/Documentation/Splunk/6.2.3/AdvancedDev/BuildNavigation
Here ware two way stop do what you're looking for:
The first menu "Ponies" specifies your dashboards individually
The second "Alt Ponies" specifies all dashboards (even if they're already listed) but filtered by the name
I also normally leave the default Dashboards menu which points to the whole unclassified list because it has the "new" button. But that's up to you...
<nav search_view="search" color="#65A637">
<view name="search" default='true' />
<view name="data_models" />
<view name="reports" />
<view name="alerts" />
<view name="dashboards" />
<collection label="Ponies">
<collection label="Dashbaords">
<view name="dashboard_a" />
<view name="dashboard_b" />
<view name="dashboard_c" />
</collection>
</collection>
<collection label="Alt_Ponies">
<collection label="Dashboards">
<view source="all" match="dashboard_" />
</collection>
</collection>
</nav>
Here ware two way stop do what you're looking for:
The first menu "Ponies" specifies your dashboards individually
The second "Alt Ponies" specifies all dashboards (even if they're already listed) but filtered by the name
I also normally leave the default Dashboards menu which points to the whole unclassified list because it has the "new" button. But that's up to you...
<nav search_view="search" color="#65A637">
<view name="search" default='true' />
<view name="data_models" />
<view name="reports" />
<view name="alerts" />
<view name="dashboards" />
<collection label="Ponies">
<collection label="Dashbaords">
<view name="dashboard_a" />
<view name="dashboard_b" />
<view name="dashboard_c" />
</collection>
</collection>
<collection label="Alt_Ponies">
<collection label="Dashboards">
<view source="all" match="dashboard_" />
</collection>
</collection>
</nav>
XML Content
<nav search_view="search" color="#65A637">
<view name="search" />
<view name="data_models" />
<view name="reports" default='true' />
<view name="alerts" />
<collection label="Ponies">
<collection label="Dashboards">
<view source="all" match="dashboard_" />
</collection>
</collection>
</nav>
that will work if your dashboards are actually called "dashboard_a", etc... don't use the match if you want everything.
and please don't create a new answer, when really... you want to comment on an answer. use COMMENTS.
Converted 🙂
Hi @athorat
As @rsennett_splunk said, please be sure that when responding to someone's answer, click on "Add comment" directly below their answer or, if responding to someone's comment, type in the "Add your comment..." box directly below their comment. You typed your responses in the "Enter your answer here..." box at the very bottom of the page which, instead, posts a brand new answer each time. This will help with a clean continuous flow of the conversation. I already converted your "answers" to comments, so just something to keep in mind from here on out. Thanks and happy Splunking!
@rsennett_splunk
@ppablo_splunk
Yes Got it now. Seems to be a big issue by answering using the answers text box.
Well if you see/click the link which you get in an email when someone answers your question, the fist thing which you see is, "Your Answer"
Just thinking if the Answers which a end user post might get any points? and who needs the point to solve a issues? Not sure if I do. Just a thought.
Okay, I see.
The comments is just for one line in width and never paid attention to that.
As far as the issue is resolved, All Good.
Thanks for looking into this
Thanks for looking into this.
So if I understand correctly this should list all the available dashboards under the dashboard menu, like Alt_Ponies>>Dashboards>> List of all the dashboards.
So doing this, whats happening is, Dashboards menu disappears as I think it searches for,
It does not even show the Ponies>>Dashboards options
Just Search,data_models,reports and alerts