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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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