Hi There
I am looking to create a dashboard tile displaying Problems with a top line summary and the hostname. Is this possible on the Dynatrace Dashboards or Notebook pages?
Thanks a lot
Stuart
Hi There
I am looking to create a dashboard tile displaying Problems with a top line summary and the hostname. Is this possible on the Dynatrace Dashboards or Notebook pages?
Thanks a lot
Stuart
You can, just query the events bucket and filter for event.kind == “DAVIS_PROBLEM”.
Something like this could be your starting point:
fetch events
| filter event.kind == "DAVIS_PROBLEM"
| fieldsAdd Status = if((event.status == "ACTIVE")," OPEN",
else:if((event.status == "CLOSED"),"🟢 CLOSED"))
| fields Status, display_id, event.name, event.category, affected_entity_types, affected_entity_ids, timestamp
| sort timestamp desc
But if you need to have the actual entity names (instead of IDs) or the HOST where an application/service is running, use the lookup command to add that data into your tile.