Getting Data In

Blacklists

Douglas
New Member

Hello! 

So here is a doozy. 

We have blacklists in place using Regx. In particular this one:

[WinEventLog://Microsoft-Windows-Sysmon/Operational]
source= XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
disabled = false
start_from = oldest
current_only = 0
evt_resolve_ad_obj = 1
checkpointInterval = 5
blacklist1 = $XmlRegex= (C:\\Program Files\\Preton\\PretonSaver\\PretonService.exe)

 

along with some other blacklists in sequence as blacklist2, blacklist3 etc. 

Now, on my and some colleagues local machines where I have tested the inputs.conf file to see if we are blacklisting correctly, it all works, no logs come into splunk cloud.

 

BUT when this is deployed using our deployment server to the estate the blacklist doesnt work. 

Does anybody know where i can troubleshoot this from?  Ive ran the btool and confs come out fine. 

we are local UF agents going to a DS then to Splunk Cloud. 

 

0 Karma

Ulwur2
Loves-to-Learn

Why use blacklists at all?  Sysmon has excellent means of filtering what you want logged and not. 

0 Karma

ashurack_qmulos
Explorer
0 Karma

ashurack_qmulos
Explorer

Is renderXml = 1 set on the input for working and non-working?

And any chance what you have working locally includes delimiters around the regex?  Ex... 

blacklist1 = $XmlRegex="(C:\\Program Files\\Preton\\PretonSaver\\PretonService.exe)"

inputs.conf - Splunk Documentation

* key=regex format:
[...]
  * The regex consists of a leading delimiter, the regex expression, and a
    trailing delimiter. Examples: %regex%, *regex*, "regex"
[...]

 

0 Karma

Douglas
New Member

Hi, 

thanks for the responses. Much appreciated. 

 

We have done the blacklists as its easier to do under our Change Board ( we have preauths) and need a longer period of time to do major changes like the sysmon one. So went, in the short term, with the blacklist. 

 

Found that I have to alter the regex slightly to get it working, then ive waited around a week for all devices to check in with the DS and get the new config. Strange though, even with the new inputs.conf the devices still push out logs for a few hours then nothing. Actually expected a full blown STOP. But hey ho. 

0 Karma
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!

Quantify Your Splunk Investment Impact: Introducing Savings Metrics to Value Insights

Building on the foundation established in our initial Value Insights releases, we are introducing the Savings ...

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...