Azure Event Hub

Occasional Contributor

Once we enable the diagnostics settings for Azure Windows / Azure Linux machines, need to move the Events onto Azure Event Hub. Currently, there are no direct option, how we can move the data.

4 Replies

You can stream to an event hub directly, under Diagnostic settings.
Actually I am looking for only specific logs.

1. Windows / Application / System
2. All the success and failure login attempts
3. Would like to capture diagnostics agent logs too

I do not want to capture any performance counters.

You can install the MMA agent and configure Log Analytics to capture the event logs and untick the performance counters:

I haven't done it, but this might be worth a read:
Thanks for the prompt response.
I am getting closer now. I was going through the given link. found some useful content.

As Diagnostics settinngs doesn't provide any direct method to send data from storage account to event hub.
We can configure one or more data sinks that send data to additional locations.

I am not clear, where from Azure portal I need to change or modify the code. under which section. neigther I am able to see this under storage account nor Event Hub.