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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...