Query Outgoing Business Events Using DQL for Complete Insights

I have defined an Outgoing Business event that sending SOAP/XML requests to external service

  • Event Trigger
    • Request - Path contains “MyExternalService”
  • Event meta data
    • Event Provider
      • Data Source - Request Path
    • Event type
      • Fixed value - MyExternalService
    • Event category
      • Data Source - Request - Body
      • Path - x.y.z.myField

However, I am unable to see any metrics from Notebook query for example
fetch bizevents
| summarize Count=count(), by:{event.provider, event.type}
| sort Count, direction:“descending”

Hi,
Your DQL is corect.

but the fact that no Business Events are actually being ingested, so fetch bizevents has nothing to return.

Hi @t_pawlak

I am sure there were requests for the business event as I could see the log entries for the call

Just to be clear, the metrics from DQL did not contain the Business Event that I have created

Thanks for the clarification!

Two important distinctions here:

Seeing log entries ≠ having Business Events in Grail.
The fact that you see log lines for the SOAP call only proves that the request happened, but it doesn’t necessarily mean that a OneAgent Business Event was generated and stored in bizevents.

To narrow this down, could you please share how exactly you configured your Business Event rule?
For example:

  • is it an Outgoing or Incoming Business Event?
  • what is the trigger condition (request path, service, etc.)?
  • how did you set event.provider / event.type and other fields?

A screenshot of the Business Event configuration (with sensitive data blurred) would also be very helpful.

Hi,

Are you talking about Managed?

Best regards

Please see the screenshot below

Hi @AntonPineiro

What do you mean by that?

Dynatrace SaaS = Dynatrace runs and hosts the cluster for you (typical URL like …live.dynatrace.com, features like Notebooks/Map/Reference data available).

Dynatrace Managed = You host the Dynatrace cluster on-prem or in your cloud. There’s a Cluster Management Console (CMC) and a custom domain.
Look at the URL and the account “About” page:

If you see “Dynatrace Managed” or have access to CMC, you’re Managed.

If your environment lives under *.dynatrace.com (e.g., …live.dynatrace.com) and there’s no CMC, you’re SaaS.

It’s SaaS

@TT  support of outgoing business events captured by OneAgent is pretty limited to a few frameworks at this time. I think it’s this issue.

Currently, the support is only in Java and only for:

  • Apache HTTP Client 4.x
  • OK HTTP Client 3.4+

Capturing bizevents from HTTP requests sent by any other framework or technology is not possible (yet).

Hi,

Let me move this thread to QA because it is in Managed section.

Best regards

Hi @TT 
Review the information of @Julius_Loman .

  • Can you tell us, what is the technology of your services?
  • Could you share us an image of the services/endpoint where you want implement the Business Event?