gdp-d
April 10, 2024, 3:06pm
1
I have used dynatrace events api and got the follow response code
{
"reportCount": 1,
"eventIngestResults": [
{
"correlationId": "59c8a191229f84df",
"status": "OK"
}
]
}
But I am unable to see any updates in logs and events dashboard in dynatrace.Am I looking in the correct place or are the custom events are logged somewhere else.For reference this request body I have used.
{
"eventType": "CUSTOM_INFO",
"title": "Loadtest start",
"timeout": 30,
"properties": {
"Tool": "MyLoadTool",
"Load per minute": "100",
"Load pattern": "production"
}
}
Hi,
Are you using Events API v2 ?
Best regards
Are you and admin of the tool? If not then you will need to be given access to the default_events bucket where these custom events are stored. We ran into this same type scenario where an app team could not pull the data via dql.
gdp-d
April 11, 2024, 5:57am
4
Yes,I am using Events API v2
gdp-d
April 11, 2024, 5:57am
5
I am the admin of the tool.I am using it as a single user.
Hi,
Can you share which GET request are you using?
Best regards
I recommend that you assign the custom information to an entity (service, host, process_group, etc).
{
"eventType": "CUSTOM_INFO",
"title": "Loadtest start",
"entitySelector": "type(service),entityName.equals(SERVICE-NAME)",
"timeout": 30,
"properties": {
"Tool": "MyLoadTool",
"Load per minute": "100",
"Load pattern": "production"
}
}
gdp-d
April 11, 2024, 10:16am
8
I am using agentless RUM for my application.I am confused on how to map it.Can you help me in writing the entity selector for the same
what dql are you running? there are several ways of getting the data via dql. you can run something like the below, just as example
fetch events
| filter matchesValue(affected_entity_ids, “serviceID”)
fetch events
| filter matchesValue(event.name, “Loadtest start”)
type(application),entityName.equals(“easyTravel Rental Cars”)