Splunk Search

searching on multiple items

jalfrey
Communicator

I have two searches that are very similar and I want to combine the results.

index=sonicwall new_category="Security Services" | stats count(host) by msg host | rename msg as "Warning Message" | rename count(host) as "Total Warnings"

index=sonicwall new_category="Firewall Hardware" | stats count(host) by msg host | rename msg as "Warning Message" | rename count(host) as "Total Warnings"

Seems like I should be able to do something like
index=sonicwall new_category="Firewall Hardware" or new_category="Security Services" but that returns nothing.

Tags (1)
0 Karma
1 Solution

asimagu
Builder

try uppercase OR 😉

View solution in original post

asimagu
Builder

try uppercase OR 😉

jalfrey
Communicator

well that was simple. 🙂

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 ...