Splunk AppDynamics

How to use 'distinctcount' clause in ADQL

Basam_Nath
Explorer

hello folks,

I want to basically get count of distinct 'fieldname' .

When I write the following query, it won't work.

SELECT distinctcount(bb) FROM transactions WHERE application = "PROD" AND transactionName = "aaa" AND segments.userData.eReceiptIndicator = true

How can I do this?

thank you very much

Labels (1)
Tags (2)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Hi @Basam.Nath

Thank you for posting your query on AppDynamics Community.

I tried to run a similar query and it worked without the last `= true' predicate.

Do you want to try and let us know if it works?

View solution in original post

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi @Basam.Nath

Thank you for posting your query on AppDynamics Community.

I tried to run a similar query and it worked without the last `= true' predicate.

Do you want to try and let us know if it works?

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...