Splunk Search

How to write a conditional search to return a table if the value of a field is X, else, it shouldn't be displayed?

rongruspe
New Member

How to have a search that returns a table if the value of a specific field is X, else, it shouldn't be shown.

Name......Value
A..............3
B..............5
C..............20

IF: Value > 10

Name.....Value
C.............20

0 Karma
1 Solution

woodcock
Esteemed Legend

Add this:

... | where Value > 10

View solution in original post

0 Karma

woodcock
Esteemed Legend

Add this:

... | where Value > 10
0 Karma

rongruspe
New Member

Thanks! Been trying eval and stats. Wasn't able to run through the where clause. Thanks!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...