Splunk Search

Is it possible to have a joined search with condition A in the first search OR condition B in the second search?

ramsnazz
New Member

Is it possible to have a joined search with condition A in the first search OR condition B in the second search?

0 Karma

to4kawa
Ultra Champion

Retrieve events from the index

index=exostar (sourcetype=Exostar_File Comments=Comm ) OR (source=ExostarAudit_IFED "Comm WBS"=true)

I don't understand the intention of join , how about this?
Events that match either of the two conditions are searched.

0 Karma

ramsnazz
New Member

second search is a subsearch

0 Karma

ramsnazz
New Member

index="exostar" sourcetype="Exostar_File" Comments=Comm
| JOIN type=left UserEmail [search index=ifed source=ExostarAudit_IFED "Comm WBS"=true ]

I want all events where Comments=Comm OR "Comm WBS"=true ]

0 Karma

aberkow
Builder

Almost certainly - can you give us a sample query you're working with? Hard to give the best answer otherwise

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...