Splunk Search

how to ignore a transaction

hariram159
Explorer

How to ignore a transaction (not an event) if any of its events contain a "abcd" string

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

After the transaction add this:

... | search NOT "abcd"

View solution in original post

0 Karma

hariram159
Explorer

Hi niketnilay,

Thanks for your suggestion, it seems its working to avoid transactions which has logout, still filtering with eventcounts etc...to get the exact active sessions even i search 2hrs/8hrs back...

Thanks..

0 Karma

woodcock
Esteemed Legend

After the transaction add this:

... | search NOT "abcd"
0 Karma

niketn
Legend

Requires more details on your transaction query and sample events

 | search NOT ("abcd")

However the same should always be done in base search to filter results upfront.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

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

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...