Hi mmdacutanan,
you last stats does not use CallID in any other way than the count, therefore you 'lose' it. Just add it to the stats either as values() or in the by clause:
index=ABC sourcetype=ABC_MainReportLog "Entered Phone Number" Phone!=1234567890
| dedup CallID
| table CallID Phone _time
| join type=inner CallID
[ search index=ABC sourcetype=ABC_core_MainReportLog "\|RemoteApplicationData\|" CV7=*
| dedup CallID]
| fields Phone, CV7, CallID
| bucket _time span=1m
| stats count(CallID) as Count by _time Phone CV7 CallID
| where Count >=2
But you should not use join at all, for various reasons.
Try this instead:
index=ABC ( sourcetype=ABC_MainReportLog "Entered Phone Number" Phone!=1234567890 ) OR ( index=ABC sourcetype=ABC_core_MainReportLog "\|RemoteApplicationData\|" CV7=* )
| bucket _time span=1m
| stats count(sourcetype) AS count values(*) AS * by _time CallID
| where count = 2
This might need some modifications to match your events, but give a starting point. Also might be worth to read this answer https://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html
Hope this helps ...
cheers, MuS
... View more