Dashboards & Visualizations
Highlighted

XML help - collection isn't showing up in this navigation

Ultra Champion

We have the following code -

<nav search_view="search" color="#65A637">
  <view name="search" default='true' />
  <view name="data_models" />
  <view name="reports" />
  <view name="alerts" />
  <collection label="AlertsCategory">
   <view name="FailureAlerts" />
   <view name="HTTPStatusAlerts" /> 
  </collection>
  <view name="failure" /> 
  <view name="dashboards" />
    <collection label="DrilldownList" >
      <collection label="Domains" > 
     <view name="xxxxxx" />
        <view name="aaaa" />
        <view name="bbbb" />
      </collection>
      <collection label="Domain-Stats-List" > 
       <view name="domain_dashboard" />
        <view name="user_domain_stats_dashboard" />
     </collection>
  </collection>
</nav>

For some reason the following doesn't show up -

      <collection label="AlertsCategory">
       <view name="FailureAlerts" />
       <view name="HTTPStatusAlerts" /> 
      </collection>

What can it be?

0 Karma
Highlighted

Re: XML help - collection isn't showing up in this navigation

Legend

@ddrillic, Make sure of the following from Settings > User interface > Views

1) The View Names FailureAlerts and HTTPStatusAlerts exist
2) The View Name casing is the same
3) The permissions on the above views are correct for logged in user.
If any of the above is not as expected Views might not show in collection.

PS: You can try the following two to test as well:
Test 1) Just retain the view names which are not showing up and remove their collection node to see whether the view show up. If they do not, either the view does not exist or logged in user does not have the right permission to the view.

<view name="FailureAlerts" />
<view name="HTTPStatusAlerts" /> 

Test 2) Try to open the view through logged in user by passing the the view name. If they do not, either the view does not exist or logged in user does not have the right permission to the view.

http://<YourSplunkServer>/en-US/app/<YourAppName>/FailureAlerts
http://<YourSplunkServer>/en-US/app/<YourAppName>/HTTPStatusAlerts

View solution in original post

0 Karma
Highlighted

Re: XML help - collection isn't showing up in this navigation

Ultra Champion

Perfect!!!! very kind. Please convert to an answer.

0 Karma
Highlighted

Re: XML help - collection isn't showing up in this navigation

Legend

Glad it worked! I have converted to answer.

0 Karma
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.