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

Create event with multiple entity via v2 API

william_cher
Participant

How do I create an event via API, where this event consist of multiple entity? 

Im creating event via POST v2/events/ingest, body as follow:

 

{
  "entitySelector": "type(SERVICE),entityId(SERVICE-A****,SERVICE-B****)",
  "eventType": "CUSTOM_ALERT",
  "title": "TESTING Error",
  "timeout": 5,
  "properties": {
       "dt.event.description": "testing",
      }
}

 

 

Problem I have is that Dynatrace will create 2 separate event instead of merging it as one.

1 REPLY 1

IzabelaRokita
Community Team
Community Team

Hey @william_cher !
Sorry for the delay. Our Community gets lots of activity every day, and unfortunately, sometimes, some posts don't get as much attention as they deserve. Did you find an answer to your question, or would you like me to seek further assistance for you? 

Featured Posts