Reporting

Making Search bar available in Saved Searches

tkwaller
Builder

I have added some searches to some Navigation dropdowns in an app I created. When you select the saved search in the dropdown menu it opens the saved search. Is there a way that I can make it so the saved search loads AND has the search bar available without making users click Edit->Open in Search ?

Here is the current nav menu:

</collection>

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Sure, you can add this to your navigation menu:

<a href="search?s=%2FservicesNS%2Fnobody%2Ffoo%2Fsaved%2Fsearches%2Fbar">Bar Search</a>

In the example the app is "foo" and the report ID is "bar", replace as necessary.

More directly, you can also use this:

<saved name="foo" view="search" />

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Sure, you can add this to your navigation menu:

<a href="search?s=%2FservicesNS%2Fnobody%2Ffoo%2Fsaved%2Fsearches%2Fbar">Bar Search</a>

In the example the app is "foo" and the report ID is "bar", replace as necessary.

More directly, you can also use this:

<saved name="foo" view="search" />

tkwaller
Builder

I'm an idiot. I was making this way to hard. To much time staring at the monitor. Thanks for the guidance, it is appreciated.

martin_mueller
SplunkTrust
SplunkTrust

When using the <collection> tag, just click the magnifying glass icon in the drop down list of searches to open in the search view.

0 Karma

tkwaller
Builder

I have the search added to the App itself what I am trying to do is make it so users don't have to select Edit->Open in Search after selecting the Saved Search they want to run. So users can run the saved search or edit it directly without having to add steps to the process

0 Karma

tkwaller
Builder















</collection>

0 Karma

tkwaller
Builder

Here is the current nav menu

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...