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

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...