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!

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 ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...