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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...