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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...