17 Apr 2023 01:30 PM
I opened the “Problem” by POST API below :
https://vip-dyntrc/e/myenvironment/api/v2/events/ingest
The body that I send like :
{"eventType": "AVAILABILITY_EVENT", "title": " !!!TEST3 - [Health+ Intelligent Alert] CRITICAL: Connector tasks have failed", "source": "Confluence", "description": "TTT The connector is in a failed state.", "properties": {"severity": "Critical", "details": "The connector is in a failed state.", "clustername": "AA_Cluster", "connector": "my-connector", "date_occurred": "2023-03-30T11:17:22+03:00"}}
Question :
How I can restrict aggregation of the Problem to “Multiple environment problems”?
In other words, I wanted open separate problems for each POST.
Solved! Go to Solution.
17 Apr 2023 03:59 PM
You need to set the property dt.event.allow_davis_merge to false to create new problem with each event as stated in the event properties documentation:
This flag controls whether the Davis® engine is allowed to merge this event into a larger problem (true) or if a new problem must be created (false). This property can be written by most event sources, such as Events API, metric events, log events, or Extension 1.0 events. For extension 1.0 events, the value must be specified as a string.
17 Apr 2023 04:27 PM
Many thanks Julius.
Can I set this flag to false in the POST body json ?
17 Apr 2023 04:41 PM
Yes, exactly.