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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...