Reporting

How to reload Global savedsearches

sdaa
Explorer

If I have saved my searches globally, ie in the file

$SPLUNK_HOME/apps/search/local/savedsearches.conf

is it then possible to reload changes somehow?

I have tried several restart/reload options but none seem to work.

  • splunk _internal call /services/admin/search/data/ui/nav?refresh=1
  • splunk _internal call /services/apps//
  • splunk restartss

Obviously if I edit them in the GUI, they will be reloaded but I have changed names to them and would like the new names to appear.

tonopahtaos
Path Finder

This works for my app savedsearches.conf too.

0 Karma

tonopahtaos
Path Finder

I mean the web link works for my app's savedsearches.conf

0 Karma

ziegfried
Influencer

You can use this command to reload the saved searches:

splunk _internal call "/admin/savedsearch/_reload"

or via Splunkweb visit the URI /debug/refresh?entity=admin/savedsearch

eg. http://localhost:8000/debug/refresh?entity=admin/savedsearch

mpatnode
Path Finder

How do I reload the savedsearch.conf for my specific app?

0 Karma

sdaa
Explorer

The internal call needed to like this: splunk _internal call /servicesNS/admin/search/admin/savedsearch/_reload -auth username to work. But the web link was useful, it reloads everything. https://servername/en-US/debug/refresh

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...