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!

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, ...