Deployment Architecture

Editing config files in a SH cluster


When I create a saved search through the web UI on a SH, it's replicated to other members in the cluster.
But if I create or modify a saved search directly in the config file (vi $SPLUNK_HOME/etc/apps/search/local/savedsearches.conf),
the modification is not visible on any member, including the host on which we modify the conf file.
But I can find the right stanza with btool.

My goal is to migrate saved searches from the current standalone SH to the new cluster.

0 Karma


That behavior is by design. The SHCluster only replicates changes made from Splunk Web, Splunk CLI and REST endpoints. See more details here.

Option for you would be to either to make changes in one SH and replicate manually to other SH node OR use CLI or REST method to add/update the search (see this

0 Karma
Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...