cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create a Metric from a value other than DQL Matcher

DanielS
DynaMight Guru
DynaMight Guru

Hello Community,

I need to create a metric from a value using the countDistinct function and to save that value over time, the DQL query is the following:

fetch logs
| FILTER matchesValue(k8s.container.name, "onboarding-service") AND matchesPhrase(content, "\"result\":\"ok\",\"step\":\"cvu\"") AND matchesPhrase(content, "triggering next step with state machine")
| summarize countDistinct(client.id), alias: CvuCreadoPorCliente

 but metric extraction only supports https://docs.dynatrace.com/docs/shortlink/lma-log-processing-matcher

any other idea to do this?

Thanks

 

The true delight is in the finding out rather than in the knowing.
0 REPLIES 0

Featured Posts