Skip to content

Commit 18d3558

Browse files
committed
Created article and applicable toc entry.
1 parent f5bee4c commit 18d3558

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Deleted Azure Event Hub is automatically recreated by Diagnostic Settings
3+
description: Resolve issues with an Azure Event Hub that is automatically recreated by Diagnostic Settings after being deleted.
4+
ms.date: 03/10/2025
5+
ms.reviewer: jfanjoy
6+
ms.service: azure-monitor
7+
---
8+
9+
# Deleted Azure Event Hub is automatically recreated by Diagnostic Settings
10+
11+
## Symptoms
12+
13+
1. When an Azure Event Hub is deleted from an Azure Event Hub Namespace, it is automatically recreated by the data flowing into the Event Hub through an Azure Diagnostic Setting.
14+
15+
1. After deleting an Azure Event Hub and all Azure Diagnostic Settings configured to send data to it, the Event Hub is automatically recreated.
16+
17+
## Causes
18+
19+
1. This is by-design behavior of the Azure Diagnostic Settings. When configured to send data to an Azure Event Hub, if the Diagnostic Setting receives an error that the Event Hub does not exist, it will attempt to create it and then continue attempting to send the data.
20+
21+
1. Azure Diagnostic Settings maintain a cache of configurations that lasts approximately 1 hour. Since the Diagnostic Setting will continue to send data for up to an hour after having been deleted, an Azure Event Hub that is the destination could get recreated even though the relevant Diagnostic Setting was deleted.
22+
23+
## Resolutions
24+
25+
1. Update any Diagnostic Settings that are configured to send data to the problem Azure Event Hub so that either the Diagnostic Setting is no longer configured to send data to that destination, or delete the Diagnostic Settings.
26+
27+
1. Update any Diagnostic Settings that are configured to send data to the problem Azure Event Hub so that either the Diagnostic Setting is no longer configured to send data to that destination, or delete the Diagnostic Settings. Wait a minimum of 1 hour, then delete the Azure Event Hub.

support/azure/azure-monitor/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,7 @@ items:
142142
- name: Advanced troubleshooting steps
143143
href: azure-monitor-agent/ama-windows-installation-issues-advanced-troubleshooting-steps.md
144144

145+
- name: Diagnostic Settings
146+
items:
147+
- name: Deleted Event Hub is recreated
148+
href: diagnostic-settings/data-flow/deleted-event-hub-automatically-recreated.md

0 commit comments

Comments
 (0)