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!

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...