2

一部のサイトで Application Insights を実行しており、Windows イベント ログからログを集計したいと考えています。Windows Server 2016で実行しています。

エラスティックのような他のログ シッパーは、Windows イベント ログからログを送信する可能性があることを知っています。Application Insights から可能ですか?

編集 22.10.2018

@cijothomas のコメントの後、Microsoft から EtwCollector nuget パッケージを追加しようとし、構成にいくつかのプロバイダーを追加しました。

<Add ProviderName="Microsoft-Windows-Crashdump" Level="Warning"/>
<Add ProviderName=".NET Common Language Runtime" Level="Warning" />
<Add ProviderName="ASP.NET Events" Level="Warning" />
<Add ProviderName="Microsoft-Windows-IIS-IISReset" Level="Warning" />
<Add ProviderName="Microsoft-Windows-HttpLog" Level="Warning" />

Application Insights で、アプリケーションからトレースを取得できるようになりました。

AI: Failed to enable provider for the EtwTelemetryModule. Access Denied.

たとえば、Microsoft-Windows-IIS-IISReset プロバイダーの場合です。

AI: Failed to enable provider Microsoft-Windows-IIS-IISReset for the EtwTelemetryModule.

Windows の「Performance Log Users」グループにアプリケーション ユーザー プロセスを追加しました。このプロバイダーからログを送信できるようにするために追加する必要がある他の設定はありますか?

4

1 に答える 1