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!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...