Splunk Search

join 3 queries

sarit_s
Communicator

Hello
I have 3 queries that i need to join between them but there is a catch 

query number 1 checks for users who sent sms
query number 2 checks if we tried to resend the sms

query number 3 check if we got verification that the sms sent

in the end - i want to see only the cases where we have sent, resend and verify - all of them by id
when im using simple join - i get all the results and not only those with the resend method 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

It would help to know the specifics of each query.  Without them, the best I can do is

<<query number 1>>
| append [ <<query number 2>> ]
| append [ <<query number 3>> ]
| stats values(*) as * by id
---
If this reply helps you, Karma would be appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...