Getting Data In

Input.conf on Deployment App

jonsantos
Engager

I created a deployment app (which distributes to Windows Universal Forwarders), from my Linux Deployment Server. Inside Windows\Local\ I have an inputs.conf file looks like this:

[WinEventLog://System]
blacklist = EventCode=xxxx

When the app gets delivered to the Windows Universal Forwarders, the input.conf file in the deployed app looks like this:

[WinEventLog://System]blacklist = EventCode=xxxx

The contents in the Inputs.conf is all in one line causing the blacklisting not to work. Any ideas on what I'm doing wrong?

Jon

Labels (1)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @jonsantos,

Windows notepad cannot show Linux line endings properly, that should not be a problem. Please try filter with quotes like below;

[WinEventLog://System]
blacklist = EventCode="xxxx"

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

scelikok
SplunkTrust
SplunkTrust

Hi @jonsantos,

Windows notepad cannot show Linux line endings properly, that should not be a problem. Please try filter with quotes like below;

[WinEventLog://System]
blacklist = EventCode="xxxx"

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...