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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...