Getting Data In

Is it possible to configure indexer discovery with CLI ?

Aftend1971
Explorer

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

For example:

In the master node's: server.conf:

    [indexer_discovery]
    pass4SymmKey = my_secret
    indexerWeightByDiskCapacity = true

In each forwarder's outputs.conf:

    [indexer_discovery:master1]
    pass4SymmKey = my_secret
    master_uri = https://10.152.31.202:8089

    [tcpout:group1]
    autoLBFrequency = 30
    forceTimebasedAutoLB = true
    indexerDiscovery = master1
    useACK=true

    [tcpout]
    defaultGroup = group1
0 Karma

adonio
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:
http://docs.splunk.com/Documentation/Splunk/7.0.3/Updating/Aboutdeploymentserver

hope it helps

0 Karma
Get Updates on the Splunk Community!

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

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...