Splunk Search

eventtype=A eventtype=B is this an OR or an AND?

gerrysr6
Explorer

As I understand the documentation ANDs are implied, so "eventtype=A eventtype=B"  is the same as "eventtype=A AND eventtype=B" 

Also, if the tag names are the same like in this case it is interpreted as "eventtype=A OR eventtype=B".

So my question is "eventtype" a tag name or not? If I do a search the search results say eventtype is both A and B! I don't understand.

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

It is AND - which documentation are you referring to?

0 Karma
Get Updates on the Splunk Community!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...