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!

Security Highlights: September 2022 Newsletter

 September 2022 The Splunk App for Fraud Analytics (SFA) is now Splunk SupportedUse your existing Splunk ...

Platform Highlights | September 2022 Newsletter

 September 2022 What’s New in 9.0 and How to UpgradeGet a walk through of what is new Splunk Enterprise 9.0 ...

Observability Highlights | September 2022 Newsletter

 September 2022 Splunk Observability SuiteAccess to "Classic" SignalFx Interface Will be Removed on Sept 30, ...