Splunk Search

Inputs Conf on Deployment Apps and HFs

JohnEGones
Communicator

Hi Splunkers, 

Have the following situation, and interested in another opinion:

We have a distributed environment with clusters indexers and SHs, and HFs in distributed sites. We are using a deployer to push out CONFs to the HFs and other assets defined by serverclass. I am trying to set-up a configuration where the HFs are receiving data from a remote host inbound on a specific TCP port.

HF Deployment App:
local\inputs.conf

in inputs.conf, there is a stanza for the expected data being input

 

 

Remote Host 1
[tcp:12345]
index = indexA
sourcetype = sourceType1
disabled = 0

 

 

 

Now there is a TA for this data type but it has an inputs.conf defined as:

 

 

[tcp://22245]
connection_host = dns
index = indexSomethingElse
sourcetype = sourceType
disabled = 0

 

 

 

Which one takes precedence? And if the indexes are different, will this mess up the ingestion and indexing?

Am I right in assuming that the inputs.conf defined for the overall inputs take precedence?

REF: https://docs.splunk.com/Documentation/Splunk/9.1.3/Admin/Wheretofindtheconfigurationfiles


Labels (1)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

Depends on whether within the TA the conf is in the local or default  directory. If it's in local, it depends on the alphabetical order of apps. Read the document once again. And do a btool --debug to verify.

Also you're not using deployer to distribute apps to HFs. You're using delpyment server for it. Deployer is for search head cluster.

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Depends on whether within the TA the conf is in the local or default  directory. If it's in local, it depends on the alphabetical order of apps. Read the document once again. And do a btool --debug to verify.

Also you're not using deployer to distribute apps to HFs. You're using delpyment server for it. Deployer is for search head cluster.

0 Karma
Get Updates on the Splunk Community!

Get Inspired! We’ve Got Validation that Your Hard Work is Paying Off

We love our Splunk Community and want you to feel inspired by all your hard work! Eric Fusilero, our VP of ...

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...