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

How to log custom event and scucess event by using dtrum API

mkarmocha
Participant

Hi Dynatrace Team,

Could somebody point me on how can i use dtrum API method such as sendEvent or sendSignal to send log to dynatrace dashboard. Do i need to manually setup/ configure in Dynatrace to consume it.

4 REPLIES 4

KiranSomanatti
Dynatrace Helper
Dynatrace Helper

Could you kindly provide further details on your use case?

As the dtrum API is designed for capturing RUM data, it cannot directly send anything to the dashboard.
Perhaps you are looking to capture items using the API on the RUM, and then push them to the dashboard from there.
Depending on whether you are using 2Gen RUM or 3rd Gen RUM, the process differs.
2nd Gen RUM: Use USQL to fetch the capture data and push it to the dashboard.
3rd Gen RUM: Use DQL queries and push it to the dashboard.

mkarmocha
Participant

Reaching out to one of my team i knew that we are using 2nd Gen. I assume there is some restriction such as we cannot use sendEvent, IdentifyUser, sendSignal as I do not see 'Event and Session Properties' in nav in our tenant

KiranSomanatti
Dynatrace Helper
Dynatrace Helper

Sorry, its Session and user action properties. I have corrected my answer on the other questions.

In this case I assume sendSignal and SendEvent wont work on Gen 2.

Featured Posts