Splunk AppDynamics

ADQL for doing UNION query

CommunityUser
Splunk Employee
Splunk Employee

I need to compute the number of distinct users across both mobile and web application. 

For web alone I get the number using this query -

SELECT distinctcount(userdata.userId) FROM browser_records

And for mobile using this - 

SELECT distinctcount(userdata.userId) FROM mobile_session_records

What I am looking for is a way to compute the distinctcount across these two combined because some users get counted twice if I simply add the output of these two queries. How can I do this in ADQL? In SQL this can be solved using a UNION.

Thanks

Labels (1)
Tags (1)
0 Karma

Umervali_Niyama
Path Finder

Appdynamics does not have union where as ther competitors like Newrelic does provide...I was loking the same but no luck

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...