25 Jun 2024
09:43 AM
- last edited on
26 Jun 2024
01:33 PM
by
MaciejNeumann
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.
19 May 2025 01:22 PM
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?