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!

Sending Metrics to Splunk Enterprise With the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

What's New in Splunk Cloud Platform 9.0.2208?!

Howdy!  We are happy to share the newest updates in Splunk Cloud Platform 9.0.2208! Analysts can benefit ...

Want a chance to win $500 to the Splunk shop? Take our IT Incident Management Survey!

  Top Trends & Best Practices in Incident ManagementSplunk is partnering up with Constellation Research to ...