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!

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...