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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...