# Azure (AKS/ACR) Diagnostic Setting events/logs

**URL:** <https://community.dynatrace.com/t/azure-aks-acr-diagnostic-setting-events-logs/48260>\
**Category:** Cloud platforms\
**Tags:** azure, kubernetes, logs\
**Created:** [October 10, 2024, 3:44pm UTC](https://community.dynatrace.com/t/azure-aks-acr-diagnostic-setting-events-logs/48260 "2024-10-10T15:44:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshua-hancox](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@joshua-hancox](https://community.dynatrace.com/u/joshua-hancox)\
**Post date:** [October 10, 2024, 3:44pm UTC](https://community.dynatrace.com/t/azure-aks-acr-diagnostic-setting-events-logs/48260/1 "2024-10-10T15:44:31Z")

</div>

Hi,

We use Dynakube/Oneagent to send our container logs and app metrics from AKS to our Dynatrace instance.

We also configure our ActiveGate to pull information from the kubernetes api server.

To make sure we can keep everything in a single place (Dynatrace instead of log analytics), we would like to also send the logs/events from the Azure Diagnostic settings for AKS (and ACR.. and many other types eventually) to Dynatrace.  
e.g.:

 ![joshuahancox_0-1728574820726.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c016d0f568b897740f683f52707a8caba37c7f8a.png)

Can anyone recommend an approach for this?

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [October 15, 2024, 9:16am UTC](https://community.dynatrace.com/t/azure-aks-acr-diagnostic-setting-events-logs/48260/2 "2024-10-15T09:16:03Z")

</div>

HI&nbsp;[@joshua-hancox](https://community.dynatrace.com/user/75147)&nbsp;, I see Azure log forwarding as an option, though I guess this may not be a best fit for your requirement here.

> **[Azure Logs](https://docs.dynatrace.com/docs/ingest-from/microsoft-azure-services-classic/azure-integrations/set-up-log-forwarder-azure)**
>
> Use Azure log forwarding to ingest Azure logs.

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [October 15, 2024, 12:43pm UTC](https://community.dynatrace.com/t/azure-aks-acr-diagnostic-setting-events-logs/48260/3 "2024-10-15T12:43:12Z")

</div>

Hello&nbsp;[@joshua-hancox](https://community.dynatrace.com/user/75147)

Appreciated efforts.

You can select the required log categories and under destination details \> send to partner solution.

I believe there is a simple and straightforward configuration to send these logs into Dynatrace to ensure all required log categories are ingested into Dynatrace for processing.

KR,

Peter.

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [October 15, 2024, 12:53pm UTC](https://community.dynatrace.com/t/azure-aks-acr-diagnostic-setting-events-logs/48260/4 "2024-10-15T12:53:26Z")

</div>

Hi&nbsp;[@joshua-hancox](https://community.dynatrace.com/user/75147)

Alternative solution:

- Select the required log categories.
- Then select stream to an event hub.
- Before that you have to ensure that event hub is monitored in Dynatrace through azure integration.

 ![2024-10-15_16h46_30.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/6/065519c7c9dc93e66b04a396f8044175221f4094.png)

**Dynatrace Docs:**

- [azure-integrations](https://docs.dynatrace.com/docs/setup-and-configuration/microsoft-azure-services/azure-integrations)
- [set-up-log-forwarder-azure](https://docs.dynatrace.com/docs/setup-and-configuration/microsoft-azure-services/azure-integrations/set-up-log-forwarder-azure)

KR,

Peter.
