Splunk Search

Can anyone help resolve the issue with my search for events relating to USB violations

wlwilliams01
Engager

alt text

Tags (1)

DavidHourani
Super Champion

Hi @wlwilliams01,

Use a labeled capturing group instead of (?.) and (?0x0) as shown here :
https://www.regular-expressions.info/named.html
which should look something like this :

(?<name>group) 

Also you can use the following site to validate your regex:
www.regex101.com

Let me know if it helps.

Cheers,
David

0 Karma

tom_frotscher
Builder

Hi,

you can not just use (?.) as a group. You need to add a name for at least one group like this:

(?<name>.+)

which would extract the results of the group to a field called "name" in Splunk. If you want to match everything in a group without giving a name you might be able to use (?:).

Greetings

Tom

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...