Getting Data In

What's Wrong on my inputs.conf ?

lgastaldello
New Member

Hi,

I am wanting to release locked event to other users just for a user.

My inputs.conf:

[default]
host = xxxxx

[WinEventLog://Security]
disabled = 0
current_only = 1
checkpointInterval = 5
whitelist1 = Account_Name="xxxxx" EventCode="xxxxx"
blacklist2 = 4771, 4776, 4624, 4634, 4769, 4768, 4625, 4672, 4662
index = xxxx_index

Regards

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi lgastaldello,
as you can see at https://docs.splunk.com/Documentation/Splunk/6.6.2/Admin/Inputsconf in whitelist you have to put a regular expression to search, are you sure that in your events there is exactly what you inserted in whitelist Account_Name="xxxxx" EventCode="xxxxx"
Exactly means that every word is after the previous and between each of them there is only the number of spaces you used.

Anyway, you have to use a regular expression, so charecters as = or " must be escaped \\.

Probably you have to use something like this

whitelist = Account_Name\=\"xxxxx\".*EventCode\=\"xxxxx\"

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...