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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...