Getting Data In

Is it possible to configure indexer discovery with CLI ?


Is possible to configure indexer discovery with CLI on master and forwarder? Thanks

For example:

In the master node's: server.conf:

    pass4SymmKey = my_secret
    indexerWeightByDiskCapacity = true

In each forwarder's outputs.conf:

    pass4SymmKey = my_secret
    master_uri =

    autoLBFrequency = 30
    forceTimebasedAutoLB = true
    indexerDiscovery = master1

    defaultGroup = group1
0 Karma

Ultra Champion

hello there,

i dont think there is a way to set it up via CLI
with that being said, why would you want to manually write a file to each forwarder?
you can use a deployment server and delpoy an app with outputs.conf with indexers discovery to all your forwarders with a click of a button
see here:

hope it helps

0 Karma
Get Updates on the Splunk Community!

.conf23 | Get Your Cybersecurity Defense Analyst Certification in Vegas

We’re excited to announce a new Splunk certification exam being released at .conf23! If you’re going to Las ...

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