Reporting

Navigation Menu: Why are saved searches are not opening in the customized view?

dorilevy
Path Finder

Hey,

According to the splunk documentation for navigation (http://docs.splunk.com/Documentation/Splunk/6.2.1/AdvancedDev/BuildNavigation#Build_the_navigation_X... ) the default.xml file supports "view" attribute for "saved" tag. This should make the saved search open in a different view. I tried using it, but I can't seem to make it work (check the new view):

<nav>
    <a href="search">Home</a>
  <collection label="General">
        <collection label="Reports">
                <saved source="unclassified" match="General" view="newview" />
                <view source="unclassified" match="General"/>
        </collection>
  </collection>
</nav>

Am i missing something?

Dori

0 Karma

NOUMSSI
Builder

Hi Dori,

Here is the mistake that you make:

The first option taht i propose to you is: If you want to use the option match in the tags saved and/or view, his value most be equal to one name of your saved searches that exists.

The second option is very easy: Just remove this match="General" in those tags.

0 Karma
Get Updates on the Splunk Community!

Happy CX Day to our Community Superheroes!

Happy 10th Birthday CX Day!What is CX Day? It’s a global celebration recognizing innovation and success in the ...

Check out This Month’s Brand new Splunk Lantern Articles

Splunk Lantern is a customer success center providing advice from Splunk experts on valuable data insights, ...

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...