Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to create inputs.conf blacklist with BOOLEAN

$
0
0
Hi there, I want to create a blacklist in the universal forwarder or in my heavy forwarder with the following conditions: 1)EventCode=4688 2)splunk*.exe so I want the regex to be something like EventCode=4688 AND splunk*. I tried many different combinations like this one: (?:.*\n){1,}EventCode=4688(?:.*\n){1,}.*splunk-.*\.exe(?:.*\n){1,}(?:.*\n) The above regex matches the event but it's not working in the transforms.conf or inputs.conf. This is how the event looks like: ########## 10/03/2019 03:33:01 PM LogName=Security SourceName=Microsoft Windows security auditing. EventCode=4688 EventType=0 Type=Information ComputerName=Win1-New TaskCategory=Process Creation OpCode=Info RecordNumber=2926293 Keywords=Audit Success Message=A new process has been created. Subject: **Security ID: S-1-1-12 Account Name: WIN$1 Account Domain: LOCALGROUP Logon ID: 0x3e7** Process Information: **New Process ID: 0x143c New Process Name: C:\Program Files\SplunkUniversalForwarder\bin\splunk-winprintmon.exe Token Elevation Type: TokenElevationTypeDefault (1) Creator Process ID: 0x1504 Process Command Line: "C:\Program Files\SplunkUniversalForwarder\bin\splunk-winprintmon.exe"** Token Elevation Type indicates the type of token that was assigned to the new process in accordance with User Account Control policy. Type 1 is a full token with no privileges removed or groups disabled. A full token is only used if User Account Control is disabled or if the user is the built-in Administrator account or a service account. Type 2 is an elevated token with no privileges removed or groups disabled. An elevated token is used when User Account Control is enabled and the user chooses to start the program using Run as administrator. An elevated token is also used when an application is configured to always require administrative privilege or to always require maximum privilege, and the user is a member of the Administrators group. Type 3 is a limited token with administrative privileges removed and administrative groups disabled. The limited token is used when User Account Control is enabled, the application does not require administrative privilege, and the user does not choose to start the program using Run as administrator. ########## Any ideas how should I proceed? Thanks.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>