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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...