> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/dependencies-azure-services/logging.md).

# ログ

{% hint style="info" %}
これらの設定は SCEPman App Service にのみ適用し、Certificate Master には適用しないでください。以下を参照してください [SCEPman 設定](/ja/scepman-gou-cheng/application-settings.md).

バージョン 2.4 以降に適用
{% endhint %}

## AppConfig:LoggingConfig:DataCollectionEndpointUri

*Linux: AppConfig\_\_LoggingConfig\_\_*&#x30C7;ータ収集エンドポイント URI

{% hint style="info" %}
DCE 経由のロギングは、バージョン 3.0 以降で可能です
{% endhint %}

**値:** URI

**説明:**

データ収集エンドポイント URI は、SCEPman がログを送信する宛先です。これは、標準デプロイメントで自動的に作成されるデータ収集ルールの既定の DCE を使用します。

## AppConfig:LoggingConfig:RuleId

*Linux: AppConfig\_\_LoggingConfig\_\_*&#x30EB;ール ID

{% hint style="info" %}
DCE 経由のロギングは、バージョン 3.0 以降で可能です
{% endhint %}

**値:** 文字列

**説明:**

これは、SCEPman が使用するデータ収集ルールの一意の識別子です。

## AppConfig:LoggingConfig:WorkspaceId

*Linux: AppConfig\_\_LoggingConfig\_\_WorkspaceId*

**値:** GUID

**説明:**

Log Analytics Workspace の WorkspaceID（ワークスペースの概要に表示されます）。Azure Monitor を SharedKey とともに使用する場合、これは必須の設定です。

## AppConfig:LoggingConfig:SharedKey

*Linux: AppConfig\_\_LoggingConfig\_\_SharedKey*

**値:** 文字列

**説明:**

Log Analytics Workspace の 2 つのキーのいずれかを使用します。SCEPman の Log Analytics Workspace にアクセスして Settings/Agents に移動すると表示され、そこで「Log Analytics エージェントの手順」セクションを展開できます。Primary キーまたは Secondary キーのいずれかを使用してください。

Azure Monitor を使用する場合、WorkspaceId とあわせて必須の設定です。

## AppConfig:LoggingConfig:AzureOfferingDomain

*Linux: AppConfig\_\_LoggingConfig\_\_AzureOfferingDomain*

**値:** 文字列

**説明:**

ワークスペースがグローバル Azure クラウドにない場合は、ここでオファリング ドメインを構成できます。既定値は 'azure.com' です。

{% hint style="danger" %}
変更はサービスに悪影響を及ぼす可能性があります！
{% endhint %}

## AppConfig:LoggingConfig:LogLevel

*Linux: AppConfig\_\_LoggingConfig\_\_LogLevel*

**値:** *トレース*, *デバッグ*, *情報*, *警告*, *エラー*、または *致命的*

**説明:**

記録される最小のログ レベルです。既定値は 'Info' です。構成されたログ レベル以上のログ レベルを持つログ エントリのみが記録されます。

この設定を 'Trace' または 'Debug' にすると、ログ出力に UPN やユーザーの IP アドレスなどの個人データが含まれる可能性があることに注意してください。ログ出力に個人データを含めたくない場合は、この設定を 'Info' 以上にしてください。

## AppConfig:LoggingConfig:AzureEventHubConnectionString

*Linux: AppConfig\_\_LoggingConfig\_\_AzureEventHubConnectionString*

{% hint style="info" %}
Azure Event Hub へのロギングは、バージョン 2.5 以降で可能です
{% endhint %}

**値:** 文字列

**説明:**

Azure Event Hub の接続文字列です。Azure Event Hub を使用する場合は、この設定を構成するか、 [AppConfig:LoggingConfig:AzureEventHubServiceUri](#appconfig-loggingconfig-azureeventhubserviceuri)。AzureEventHubConnectionString を使用する場合は、認証情報を含める必要があります。

## AppConfig:LoggingConfig:AzureEventHubName

*Linux: AppConfig\_\_LoggingConfig\_\_AzureEventHubName*

{% hint style="info" %}
Azure Event Hub へのロギングは、バージョン 2.5 以降で可能です
{% endhint %}

**値:** 文字列

**説明:**

Azure Event Hub の名前です。Azure Event Hub を使用する場合は必須の設定です。

## AppConfig:LoggingConfig:AzureEventHubPartitionKey

*Linux: AppConfig\_\_LoggingConfig\_\_AzureEventHubPartitionKey*

{% hint style="info" %}
Azure Event Hub へのロギングは、バージョン 2.5 以降で可能です
{% endhint %}

**値:** 文字列

**説明:**

Azure Event Hub のパーティション キーです。これは省略可能です。設定しない場合、既定値は '0' になります。

## AppConfig:LoggingConfig:AzureEventHubServiceUri

*Linux: AppConfig\_\_LoggingConfig\_\_AzureEventHubServiceUri*

{% hint style="info" %}
Managed Identity を使用した Azure Event Hub へのロギングは、バージョン 2.8 以降で可能です
{% endhint %}

**値:** 文字列

説明: Azure Event Hub のサービス URI です。Azure Event Hub を使用する場合は、この設定を構成するか、 [AppConfig:LoggingConfig:AzureEventHubConnectionString](#appconfig-loggingconfig-azureeventhubconnectionstring)。AzureEventHubServiceUri を使用する場合、SCEPman/Certificate Master は自身の Managed Identity を使用して Azure Event Hub Service に認証します。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.scepman.com/ja/scepman-gou-cheng/application-settings/dependencies-azure-services/logging.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
