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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...