Getting Data In

How to setup to whitelist and blacklist in inputs.conf to pull data from WinEventLog?

vin_ven27
Explorer

Hi, 

we are trying to pull a specific data from [WinEventLog://Microsoft-Windows-TaskScheduler/Operational] but the problem is our unique event is not suggested for the white/blacklisting such as eventID, category, etc... we only have Task Name to filter it. so we tried: 

blacklist = $XmlRegex=(?<=Name='TaskName'\>)(\\TaskNameSample\\)

and 

whitelist = $XmlRegex=(?<=Name='TaskName'\>)(\\TaskNameSample\\) 

but not working... do you have any suggested solution for this? 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @vin_ven27,

I don't know if it's acceptable for you this workaround: you could filter events on the Indexers or (if present) on Heavy Forwarders following the instructions at https://docs.splunk.com/Documentation/Splunk/9.0.0/Forwarding/Routeandfilterdatad#Filter_event_data_...

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...