# Dashboard Events

**URL:** <https://community.dynatrace.com/t/dashboard-events/44217>\
**Category:** Dashboarding\
**Tags:** dynatrace-managed, events, dashboards\
**Created:** [February 21, 2024, 8:07am UTC](https://community.dynatrace.com/t/dashboard-events/44217 "2024-02-21T08:07:21Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![kasdev](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kasdev](https://community.dynatrace.com/u/kasdev)\
**Post date:** [February 21, 2024, 8:07am UTC](https://community.dynatrace.com/t/dashboard-events/44217/1 "2024-02-21T08:07:21Z")

</div>

Hello.

I share you a visual and i’ve a question.

 ![bu eventler dashboard haline getirilebilir mi2.jpeg](https://global.discourse-cdn.com/dynatrace/original/2X/2/2fbfbe678a0c465547192a9615cd19d75604ff39.jpeg)

This is how Dynatrace gives container events within the container group, such as process restart, process crashed. Is there a chance to see these in a single dashboard for all applications? I looked at the metrics a bit, but I could only find the number of process restarts.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [February 21, 2024, 8:29am UTC](https://community.dynatrace.com/t/dashboard-events/44217/2 "2024-02-21T08:29:18Z")

</div>

Hi,

I think that is possible but only if you are using Grail + DQL. Are you in a Grail-enabled tenant?

Best regards

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [February 21, 2024, 8:32am UTC](https://community.dynatrace.com/t/dashboard-events/44217/3 "2024-02-21T08:32:34Z")

</div>

You can use Platform dashboards to get this info.

```c
fetch events
| sort timestamp desc
| filter dt.entity.cloud_application_namespace == "CLOUD_APPLICATION_NAMESPACE-CF142217B59E0921"

| filter event.kind == "DAVIS_EVENT"
| fields timestamp, dt.entity.cloud_application_instance.name, dt.kubernetes.event.involved_object.kind, dt.kubernetes.event.involved_object.name, dt.kubernetes.event.message, dt.kubernetes.event.reason
| limit 100

```

 ![PacoPorro_0-1708504343302.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/1/413a39da6f61a280d2f92697800bf09576e4cdc7.png)

---

<div class="post-metadata">

**Author:** ![kasdev](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kasdev](https://community.dynatrace.com/u/kasdev)\
**Post date:** [February 21, 2024, 8:54am UTC](https://community.dynatrace.com/t/dashboard-events/44217/4 "2024-02-21T08:54:10Z")

</div>

how can i use platform dashboard? i could not find something like that

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [February 21, 2024, 8:59am UTC](https://community.dynatrace.com/t/dashboard-events/44217/5 "2024-02-21T08:59:03Z")

</div>

Are you in SaaS?  
If so :&nbsp;[Dashboards — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/dashboards-use)

---

<div class="post-metadata">

**Author:** ![kasdev](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kasdev](https://community.dynatrace.com/u/kasdev)\
**Post date:** [February 21, 2024, 9:23am UTC](https://community.dynatrace.com/t/dashboard-events/44217/6 "2024-02-21T09:23:27Z")

</div>

no its managed but i’ve find now what you said.

i was in classic dynatrace ui before but now im in latest dynatrace and i can see your fetch events screen. but i dont know how to customize these:

```c
fetch events
| sort timestamp desc
| filter dt.entity.cloud_application_namespace == "CLOUD_APPLICATION_NAMESPACE-CF142217B59E0921"

| filter event.kind == "DAVIS_EVENT"
| fields timestamp, dt.entity.cloud_application_instance.name, dt.kubernetes.event.involved_object.kind, dt.kubernetes.event.involved_object.name, dt.kubernetes.event.message, dt.kubernetes.event.reason
| limit 100

```

i guess i firstly need to change dt.entity.cloud\_application\_namespace

and dt.entity.cloud\_application\_instance.name, dt.kubernetes.event.involved\_object.kind etc..

but currently i dont know if its kubernetes or openshift. i guess its openshift.

(by the way im an intern at my company so im sorry if i ask you too much:) )

---

<div class="post-metadata">

**Author:** ![kasdev](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kasdev](https://community.dynatrace.com/u/kasdev)\
**Post date:** [February 21, 2024, 9:33am UTC](https://community.dynatrace.com/t/dashboard-events/44217/7 "2024-02-21T09:33:31Z")

</div>

i dont know but i can try what you suggest

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [February 21, 2024, 10:05am UTC](https://community.dynatrace.com/t/dashboard-events/44217/8 "2024-02-21T10:05:50Z")

</div>

Ah!!! now it’s time for you to play with [DQL](https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language)&nbsp;  
K8s , EKS, AKS or Openshift doesn’t matter in this context.

---

<div class="post-metadata">

**Author:** ![kasdev](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kasdev](https://community.dynatrace.com/u/kasdev)\
**Post date:** [February 21, 2024, 2:22pm UTC](https://community.dynatrace.com/t/dashboard-events/44217/9 "2024-02-21T14:22:29Z")

</div>

hello again. i read the document but i couldn’t manage to find what i need.

do you know how to query events for a specific container group name?

fetch logs query works but fetch events query does not give me anything.

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [February 21, 2024, 4:01pm UTC](https://community.dynatrace.com/t/dashboard-events/44217/10 "2024-02-21T16:01:10Z")

</div>

The best place to ask for help with DQL is the [DQL](https://community.dynatrace.com/category/dql)&nbsp;forum, but let’s try something like this:

```c
fetch events
| sort timestamp desc
| filter startsWith(dt.kubernetes.event.involved_object.name, "cartservice-")
| filter event.kind == "DAVIS_EVENT"
| fields timestamp, dt.entity.cloud_application_instance.name, dt.kubernetes.event.involved_object.kind, dt.kubernetes.event.involved_object.name, dt.kubernetes.event.message, dt.kubernetes.event.reason
| limit 100

```

Where I filter the object with a name starting with cartservice-

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [February 21, 2024, 10:48pm UTC](https://community.dynatrace.com/t/dashboard-events/44217/11 "2024-02-21T22:48:01Z")

</div>

Hi&nbsp;[@kasdev](https://community.dynatrace.com/user/72156),

Your other post:&nbsp;[Creating dashboard for container events from a container group - Dynatrace Community](https://community.dynatrace.com/topic/237682)

There is another option too if it is possible to use classic dashbboard with data explorer. If you have API integration to your k8s cluster you can use the builtin:kubernetes.events with many dimensions

 ![Mizs_0-1708555560165.png](https://global.discourse-cdn.com/dynatrace/original/1X/a3c9322cbe1a3dd992dc196914adea1e6e9b0752.png)

You can create fancy dashboard tiles, like this:

 ![Mizs_1-1708555560167.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/d/9d28e2b179468ea45aecc212ec1a59cc6f27e0f0.png)

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [February 22, 2024, 1:04pm UTC](https://community.dynatrace.com/t/dashboard-events/44217/12 "2024-02-22T13:04:01Z")

</div>

The only reason to use DQL is to have the event message.&nbsp;  
Otherwise, your approach is the best one.

---

<div class="post-metadata">

**Author:** ![kasdev](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kasdev](https://community.dynatrace.com/u/kasdev)\
**Post date:** [February 23, 2024, 11:14am UTC](https://community.dynatrace.com/t/dashboard-events/44217/13 "2024-02-23T11:14:34Z")

</div>

thanks for your help but unfortunately event count does not provide me what i need.

As seen in my visual, i need container events like process restart, process crashed etc..
