Splunk Enterprise Security

How do I exclude a specific field value from search results?

shiroyasha_
New Member

I'm trying to exclude a specific value from my search result, what I'm currently getting is the list of top hosts using this query

sourcetype=akamaisiem | timechart  count by httpMessage.host

From my query I'm getting all the hostnames, how do I exclude a specific value from the results?

0 Karma

renjith_nair
Legend

@shiroyasha_ ,

You can exclude the host before the timechart

 sourcetype=akamaisiem 'httpMessage.host' !="unwanted host" | timechart  count by httpMessage.host
Happy Splunking!
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...