Notification Hub Logs Not Appearing in Log Analytics Despite Diagnostic Settings

Sankeerthana Desireddy 0 Reputation points
2025-07-25T18:49:17.33+00:00

We have a Notification Hub namespace (VN-a99fb) configured with diagnostic settings to send logs to a Log Analytics workspace (gps-a99fb) in the canadacentral region.

Despite triggering activity via test notifications, no logs appear in the AzureDiagnostics table of the workspace. Diagnostic settings were verified and recreated successfully. The Log Analytics workspace and Notification Hub are in the same subscription and region.

We need help verifying if the diagnostic pipeline is functioning correctly, and why no telemetry or log data is arriving in Log Analytics.

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Srikanth Reddy Bandi 10 Reputation points Microsoft External Staff Moderator
    2025-08-06T04:47:48.75+00:00

    Hello Sankeerthana Desireddy,

    **Thank you for submitting your question on Microsoft Q&A.
    **
    The absence of logs from your Notification Hub in the AzureDiagnostics table, even with correct configuration, often points to a specific logging detail or a delay in the data pipeline. Since you've already recreated the diagnostic settings, this is likely a more nuanced issue than a basic misconfiguration.

    First, double-check your diagnostic settings. Make sure the "OperationalLogs" category is enabled this is essential for capturing the management and test notification activity you’re tracking. Also, verify your collection mode: if you’re using resource-specific mode, logs will appear in the NHOperationLogs table, not AzureDiagnostics. Adjust your queries accordingly.

    Remember, Azure’s diagnostic pipeline isn’t real-time. There can be a delay of several minutes before logs show up in Log Analytics. Even after sending a test notification, you may need to wait before the data is available.

    To confirm log arrival, use a targeted KQL query in Log Analytics. For AzureDiagnostics, try:

    AzureDiagnostics
    | where ResourceProvider == "MICROSOFT.NOTIFICATIONHUBS"
    | where ResourceId contains "VN-a99fb"
    | order by TimeGenerated desc
    | take 50
    

    If you’re using resource-specific mode, use:

    NHOperationLogs
    | where ResourceId contains "VN-a99fb"
    | order by TimeGenerated desc
    | take 50
    

    Finally, ensure your test notifications are actually reaching the Notification Hub and generating events. Check the hub’s Metrics in the Azure Portal for “Incoming requests” or “Successful sends.” If metrics show activity but logs are missing, the issue is with the diagnostic pipeline; if metrics are flat, the notifications aren’t reaching the hub.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.