Getting Data In

How To Create HEC Http_Input in Indexer Cluster Envirmment

AliMaher
Path Finder

Hello,

 

I want to create Input: HEC on the indexers => Indexer Cluster.

 

Create inputs.conf under /opt/splunk/etc/master-apps/_cluster/http_input/local:

[http]
disabled=0
enableSSL=0

[http://hec-input]
disabled=0
enableSSL=0
#useACK=true
index=HEC
source=HEC_Source
sourcetype=_json
token=2f5c143f-b777-4777-b2cc-ea45a4288677

Push these configuration to the peer-app (Indexers).

 

But we go to the Data inputs => HTTP Event Collector  at indexer Side

we still found it as below:

2024-11-23_141605.png

 

 

Labels (2)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

What do you mean by "we go to the Data inputs => HTTP Event Collector at indexer Side"?

You have WebUI enabled on your clustered indexers? It's a big no-no.

AliMaher
Path Finder

Yes, I know the WebUI should be disabled for the indexers, but it's test environment so it's enabled.

0 Karma

marnall
Motivator

You shouldn't need to put inputs.conf into master-apps/_cluster/http_input/local, it should either go into master-apps/_cluster/local or master-apps/http_input/local . Try moving it into _cluster/local or http_input/local.

AliMaher
Path Finder

Kindly, let me know why you need to skip _cluster path?

0 Karma

marnall
Motivator

In terms of pathing to the config file, you can think of _cluster as an app. So you can do:

master-apps/_cluster/local

-or-

master-apps/<yourapp>/local

 

But it makes no sense to have both:

master-apps/_cluster/<yourapp>/local

 

ref: https://docs.splunk.com/Documentation/Splunk/9.3.2/Indexer/Updatepeerconfigurations

 

Also one other thing came to mind: You are using the old name "master-apps" rather than the new name "manager-apps". This is fine as long as all your apps are placed either in master-apps or manager-apps, but your apps should not be in both folders.

Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...