Skip to content

Commit 70719dc

Browse files
authored
Merge pull request #8421 from jefffanjoy/main
AB#4444: Added article deleted-event-hub-automatically-recreated and toc mapping
2 parents 59b6c01 + ffb6fea commit 70719dc

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Deleted Event Hub Is Automatically Re-created by Diagnostic Settings
3+
description: Resolves issues with an Azure event hub that is automatically re-created by diagnostic settings after being deleted.
4+
ms.date: 03/19/2025
5+
ms.reviewer: jfanjoy, v-weizhu
6+
ms.service: azure-monitor
7+
ms.custom: sap:Issues with configuring diagnostic settings
8+
---
9+
# Deleted Azure event hub is automatically re-created by diagnostic settings
10+
11+
This article provides a solution to an issue where a deleted Azure event hub is automatically re-created by Azure diagnostic settings or their configuration cache.
12+
13+
## Symptoms
14+
15+
You might see the following symptoms:
16+
17+
- When you delete an event hub from an Event Hubs namespace, the event hub is re-created automatically by the data flowing into it through the diagnostic settings.
18+
- After you delete an event hub and all diagnostic settings configured to send data to it, the event hub is re-created automatically.
19+
20+
## Cause
21+
22+
Here are the causes of the issue:
23+
24+
- When a diagnostic setting is configured to send data to an Azure event hub, if it receives an error indicating that the event hub doesn't exist, the diagnostic setting will try to create it and then continue trying to send the data.
25+
- Azure diagnostic settings maintain a cache of configurations for approximately one hour. During this period, even if the diagnostic settings were removed, they'll continue to send data to the destination, such as a deleted event hub, causing the event hub to be re-created.
26+
27+
## Solution
28+
29+
In a scenario where you delete an event hub from an Event Hubs namespace, use one of the following methods to resolve the issue:
30+
31+
- Update the diagnostic settings to prevent them from sending data to the event hub.
32+
- Delete the diagnostic settings.
33+
34+
In a scenario where you delete an event hub and related diagnostic settings, use this method to resolve the issue:
35+
36+
- Update the diagnostic settings to prevent them from sending data to the event hub, delete them, wait at least one hour to allow their configuration cache to expire, and then delete the event hub.
37+
38+
[!INCLUDE [Azure Help Support](../../../../includes/azure-help-support.md)]

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 automatically re-created
148+
href: diagnostic-settings/data-flow/deleted-event-hub-automatically-recreated.md

0 commit comments

Comments
 (0)