Getting Data In

How to edit my inputs.conf to whitelist selected events from Windows Security logs?

kiran331
Builder

Hello

I have to get only the selected events from Windows Security logs, so I have added the whitelist in inputs.conf stanza, but it's not working. Let me know what to be changed or added to inputs.conf to make it work.

[WinEventLog://Security]
disabled = 0
start_from = oldest
current_only = 0
evt_resolve_ad_obj = 1
checkpointInterval = 5
whitelist1= EventCode="4723|4724|4727|4728|4731|4732|4735|4737|4738|4739|4740 |4754|4755|4756|4764|4767|4777|4780|4816|4864|4865|4866|4867|4882|4885|4890|489 2"
whitelist2 = EventCode="4896|4906|4907|4908|4912|4960|4961|4963|4965|4962|4976 |4977|4978|4983|4984|5027|5028|5029|5030|5035|5037|5038|5122|5123|5124|5376|537 7"
whitelist3 = EventCode="5453|5480|5483|5484|5485|6145|6273|6274|6275|6277|6278 |6279|6280|24586|24592|24593|24594"

lquinn
Contributor

Try just listing the event codes in your whitelist settings like this:

 whitelist1 = 4723,4724,4727,4728,4731,4732,4735,4737,4738,4739,4740,4754,4755,4756,4764,4767,4777,4780,4816,4864,4865,4866,4867,4882,4885,4890,4892
whitelist2 = 4896,4906,4907,4908,4912,4960,4961,4963,4965,4962,4976,4977,4978,4983,4984,5027,5028,5029,5030,5035,5037,5038,5122,5123,5124,5376,5377
whitelist3 = 5453,5480,5483,5484,5485,6145,6273,6274,6275,6277,6278,6279,6280,24586,24592,24593,24594
0 Karma

kiran331
Builder

Hi lquinn, I tried this, its not working. Its sending logs with other event Codes too.

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...