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!

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 ...