HCI Cluster - how to export Logs to 'EventHub' or to Storage

Piotr Janusz 0 Reputation points
2023-10-30T11:41:56.39+00:00

Team,

I've HCI Cluster which I'd like to export out log data either to EventHub directly or to storage.

HCI Cluster contain two nodes with Acr Connected, OS build 20349.1906 / OS ver. 22H2.

What I've found is this:

https://video2.skills-academy.com/en-us/azure-stack/hci/manage/collect-logs

which is for 23H2 ver. but anyway I at this point would like to know whether or not it would be possible to export out and save logs to some storage account in the same RG ? If yes then what would be the steps needed ?

In 'Save logs to local file share' section of above document there is command

Send-DiagnosticData –ToSMBShare -BypassObsAgent –SharePath <Path to the SMB share> -ShareCredential <Crendentials to connect to the SharePath>

Can "<Path to the SMB share>" be local storage account account in the same folder ?

Azure Stack HCI
Azure Stack HCI
A hyperconverged infrastructure operating system delivered as an Azure service that provides security, performance, and feature updates.
301 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 25,616 Reputation points
    2023-11-02T04:06:49.3633333+00:00

    Hello Piotr Janusz
    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    The process should be Host -> AMA Agent -> Log Analytics -> Export (Storage Account / EventHub)

    Please refer these documents:

    https://video2.skills-academy.com/en-us/azure/azure-monitor/logs/logs-data-export?tabs=portal

    https://video2.skills-academy.com/en-us/azure/azure-monitor/logs/logs-export-logic-app

    Hope this helps.

    1 person found this answer helpful.
    0 comments No comments