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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...