Splunk Search

Omit a tag from a timechart

dperry
Communicator

I have 5 tags:

tag1
tag2
tag3
tag4
tag5

index=my_index sourcetype=inetpub host=myhost "video=0"| timechart count by tag

I want to omit one of the tags on my timechart (similar to "other") and only show tags 1-4...Is this possible?

Tags (2)
0 Karma
1 Solution

woodcock
Esteemed Legend

Like this:

index=my_index sourcetype=inetpub host=myhost "video=0" tag!=tag1 | timechart count by tag

View solution in original post

0 Karma

woodcock
Esteemed Legend

Like this:

index=my_index sourcetype=inetpub host=myhost "video=0" tag!=tag1 | timechart count by tag
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...