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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...