Splunk Search

Regex

uagraw01
Motivator

I want to exclude this event "values='{CARD}hfgjllanabbflvh=='} from the server. Please suggest me regex for this and suggest me the props and transforms for this.

Below the sample event:

' weblogic.server values='{CARD}hfgjllanabbflvh=='}


[Sourcetype]
SHOULD_LINEMERGE = false
TRANSFORMS-mask = one

 

[one]
REGEX =
FORMAT = 
DEST_KEY = 

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @uagraw01 ,

I think you want to filter all event that contains values='{CARD}hfgjllanabbflvh=='}  string. Please try below; 

transforms.conf

[one]
REGEX = values\='{CARD}hfgjllanabbflvh=='}
DEST_KEY = queue
FORMAT = nullQueue

 

If this reply helps you an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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