Splunk Search

exclude 'sendmail' in search options

subhap
Engager

I am using the following in my search options: index="my_site_hosts" "hostABC" "failed"

The results displays sendmail. I want to filter out sendmail and see all other failures.

How do I exclude sendmail in the search results so I get to view other forms of failures?

I did try this: index="my_site_hosts" "hostABC" "failed" !"sendmail" the negation sign did not work?

thank you

Tags (1)

Genti
Splunk Employee
Splunk Employee

subhap try:
index="my_site_hosts" "hostABC" "failed" NOT "sendmail"

Cheers,
.gz

gkanapathy
Splunk Employee
Splunk Employee
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...