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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...