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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...