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

Dashboard Tile For Problems Showing Hostname

stuart_reid
Frequent Guest

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

1 REPLY 1

Eric_Yu
Dynatrace Advisor
Dynatrace Advisor

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

 

Eric_Yu_0-1713803292148.png

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.
https://docs.dynatrace.com/docs/shortlink/correlation-and-join-commands#lookup

Eric Yu

Featured Posts