Getting Data In

How to resolve inputs.conf error "Invalid key in stanza" on our Windows universal forwarder?

dhavamanis
Builder

Can you please tell us how to resolve this error on our Windows universal forwarder,

Invalid key in stanza [monitor:C:\jmeter\Workspace\SplunkData\ST
AGE] in C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf,
line 7: blacklist  (value:  \.(jtl)$)
                Invalid key in stanza [monitor:C:\jmeter\Workspace\SplunkData\ST
AGE] in C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf,
line 8: crcSalt (value: <SOURCE>)
                Your indexes and inputs configurations are not internally consis
tent. For more information, run 'splunk btool check --debug'

inputs.conf:

[default]
host = USZMPAPWQ004

[monitor:C:\jmeter\Workspace\SplunkData\STAGE]
index=idx-sqe-perf
sourcetype=csv
crcSalt = <SOURCE>
blacklist = \.(jtl)$
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Consider using this stanza:

[monitor://C:\jmeter\Workspace\SplunkData\STAGE]

Added the double-slash of monitor://.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Consider using this stanza:

[monitor://C:\jmeter\Workspace\SplunkData\STAGE]

Added the double-slash of monitor://.

the_wolverine
Champion

crcSalt requires a value. You don't need to set crcSalt so just removing that line should resolve the issue.

0 Karma

dhavamanis
Builder

i have updated with exact config. its have value SOURCE. can you please check now.

0 Karma

the_wolverine
Champion

I think you are looking to set:

crcSalt = <SOURCE>

(case sensitive)

0 Karma

dhavamanis
Builder

yes, you are correct. I have updated the actual without any break now. Please check this.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...