Splunk Dev

Get list of search peers from search head cluster deployer

brent_weaver
Builder

I am working on a way to push content to the SHC deployer (basically recreating teh deployment server) using Ansible. Is there a way that I can query the deployer to get a list of peers? I need this list to be able to push content to a member, since this is in the cloud IP's are not static so if I could get the data from a REST call on teh deployer that would be dreamy!

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

What content are you pushing to the SHC members? The SHCD is supposed to do the content pushing. Doing so yourself could result in unpredictable behavior.

---
If this reply helps you, Karma would be appreciated.
0 Karma

ss026381
Communicator

But when you run apply shcluster-bundle you need to give at least one member URI:port. is there a way to get it on deployer?

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