Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send AKS logs into eventhub?

What would be the best solution to stream AKS Container logs and cluster level logs to Azure Eventhub?

like image 296
Mehrdad Abdolghafari Avatar asked Jan 27 '26 17:01

Mehrdad Abdolghafari


1 Answers

Experiencing the same issue, unable to forward the application logs directly to event hub. The work around is to create a rule to forward the logs to the storage account and create a rule to pick it up from storage blob and stream it real time to event hub. Creating a job to forward logs to storage account: https://learn.microsoft.com/en-us/azure/connectors/connectors-create-api-azure-event-hubs#add-action Stream logs from storage account to event hub: https://learn.microsoft.com/en-us/azure/active-directory/reports-monitoring/tutorial-azure-monitor-stream-logs-to-event-hub

like image 163
Fedor Gorin Avatar answered Jan 30 '26 16:01

Fedor Gorin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!