Splunk Search

The "Where" command

antaeuslogan
New Member

How do I search multiple field values with the "where" command. I am trying to search  multiple field values that are greater than the number zero, and then have them listed in multiple rows within one column. I am not sure of how to format this in the SPL or know if this is even possible with the "where" command.  If you know of a more efficient way of solving this problem with another SPL command please let me know. Also, if there is a better command to use to solve this problem can you please display the correct format of the command for best results. Thank you in advance for your help!!

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please share your data (anonymized, if necessary), your current search, and a mock-up of the desired results.

The where command can search using complex expressions.

| where (foo>0 OR bar>0 OR baz>0)

 

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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