Splunk Enterprise Security

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

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


@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!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...