Deployment Architecture

Editing config files in a SH cluster

laberthelemy
Engager

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

somesoni2
Revered Legend

That behavior is by design. The SHCluster only replicates changes made from Splunk Web, Splunk CLI and REST endpoints. See more details here.
http://docs.splunk.com/Documentation/Splunk/6.2.2/DistSearch/HowconfrepoworksinSHC#The_changes_that_...

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 http://docs.splunk.com/Documentation/Splunk/6.3.3/RESTREF/RESTsearchExamples#saved.2Fsearches_POST)

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...