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!

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...