Splunk Search

How do you ignore an output in a Table Listing?

albyva
Communicator

Lets assume you have the following search:

index=usgs_* source=usgs place=*California | table time, place, mag, depth

And your output is something like:

1/1/2014 San Francisco 4.5 1000m
1/2/2014 Oakland 3.8 500m
1/3/2014 San Jose 3.7 750m

If I wanted to ignore every "Oakland" entry in the table output, how would I do that?

Thanks,

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Give this a shot:

index=usgs_* source=usgs place=*California NOT place=Oakland | table time place mag depth

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Give this a shot:

index=usgs_* source=usgs place=*California NOT place=Oakland | table time place mag depth

albyva
Communicator

Thanks. Brain fart.. 🙂

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...