Deployment Architecture

How to set HttpEventCollector to work with Indexer Clustering?

fabiocaldas
Contributor

HttpEventCollector is an amazing and welcome feature from Splunk 6.3, but there is no documetation explaining how should it be set to work on clustering environment.

The documentation only teach how to set it on a single server, but I need to set it on my deployment server and send it to all peers node.

Anyone know how to do it?

0 Karma
1 Solution

muebel
SplunkTrust
SplunkTrust

Hi fabiocaldas, for an indexer cluster you'll want to configure http and token stanzas as directed in the inputs.conf doc : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf

Put this configuration in the cluster master and then apply the cluster bundle to configure all the indexers in the cluster.

Basically, this is configuring this input solely through the configuration files, and not the web interface. You could use a standalone indexer as a testbed for getting the config as you want it, then finding it in $SPLUNKHOME/etc/apps/splunk_httpinput as a reference for what you deploy to the cluster.

Please let me know how this goes!

View solution in original post

muebel
SplunkTrust
SplunkTrust

Hi fabiocaldas, for an indexer cluster you'll want to configure http and token stanzas as directed in the inputs.conf doc : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf

Put this configuration in the cluster master and then apply the cluster bundle to configure all the indexers in the cluster.

Basically, this is configuring this input solely through the configuration files, and not the web interface. You could use a standalone indexer as a testbed for getting the config as you want it, then finding it in $SPLUNKHOME/etc/apps/splunk_httpinput as a reference for what you deploy to the cluster.

Please let me know how this goes!

fabiocaldas
Contributor

Hey muebel,

I already tested it by configuration file published by the master and it's works fine. Indeed I asked here to check if there was anyway to use the new web ui to publish it from the master, but ok I can wait for an upgrade in next versions 🙂

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...