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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...