事件中心命名空间中的事件订阅如何工作?

How event subscriptions in Event Hub Namespace work?

我可能对概念感到困惑,但我将 Azure Activity 日志导出到 Azure 事件中心,它按预期工作。事件中心 insights-operational-logs 已创建,我看到事件发布在那里。我也创建了事件订阅,但它根本没有显示任何事件。我错过了什么? 具体步骤。

  1. 转到 Azure Activity 登录并将其导出到我选择的事件中心。
  2. 转到 eventhub 命名空间并单击 "Events" 并选择“+ 事件 订阅。
  3. 指定捕获所有事件并将端点指定为存储队列

术语事件订阅是指您已经创建了对事件中心命名空间的事件网格订阅。

So whenever an event is sent to the Event Hub within the Event Hub Namespace, the event will be captured and stored in the blob storage configured provided you have enabled capture while creating the event hub. On successful capture of the event, an event will be sent by the Event Subscription to the configured endpoint(in your case ,the storage queue) which will have the captured blob url.

您可以在配置的存储队列中找到事件。

有关事件中心 - 事件网格集成的更多详细信息,请参阅此 link