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
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...