> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/security/exporting-audit-logs/audit-trail-codes-portal-classic.md). Agents can also search and read this documentation through its [MCP server](https://docs.nexthink.com/~gitbook/mcp).

# ポータル（クラシック）の監査トレイルコード

{% hint style="warning" %}
このページの監査証跡コードは、Portal、Nexthink Experienceに適用されます。

Nexthink Infinityに適用される監査証跡コードについては、[Audit trail codes Infinity ](https://docs.nexthink.com/platform/ja/security/exporting-audit-logs/audit-trail-codes.md)ドキュメントを参照してください。

監査証跡コードをクエリする方法については、[監査ログのエクスポート](https://docs.nexthink.com/platform/ja/security/exporting-audit-logs.md)を参照してください。
{% endhint %}

| コード   | 説明                                                                      |
| ----- | ----------------------------------------------------------------------- |
| 20001 | <p>Portalを開始しています</p><p><code>\[Portal</code></p>                       |
| 20002 | <p>Portalは稼働中です</p><p><code>\[Portal</code></p>                         |
| 20004 | <p>Portalが停止しました</p><p><code>\[Portal</code></p>                        |
| 20101 | <p>ユーザーがログインしました</p><p><code>\[Portal</code></p>                        |
| 20102 | <p>ユーザーがログアウトしました</p><p><code>\[Portal</code></p>                       |
| 20103 | <p>ユーザーのログインに失敗しました</p><p><code>\[Portal</code></p>                     |
| 20104 | <p>ユーザーがロックされました</p><p><code>\[Portal</code></p>                        |
| 20201 | <p>ユーザーが作成されました</p><p><code>\[Portal</code></p>                         |
| 20202 | <p>ユーザーが削除されました</p><p><code>\[Portal</code></p>                         |
| 20203 | <p>ユーザーが更新されました</p><p><code>\[Portal</code></p>                         |
| 20204 | <p>ユーザープロファイルが更新されました</p><p><code>\[Portal</code></p>                   |
| 20205 | <p>ユーザードメインの所有権が更新されました</p><p><code>\[Portal</code></p>                 |
| 20206 | <p>ロールが追加されました</p><p><code>\[Portal</code></p>                          |
| 20207 | <p>ロールが更新されました</p><p><code>\[Portal</code></p>                          |
| 20208 | <p>ロールが削除されました</p><p><code>\[Portal</code></p>                          |
| 20209 | <p>プロファイルが追加されました（ロールあり）</p><p><code>\[Portal</code></p>                |
| 20210 | <p>プロファイルが更新されました（ロールあり）</p><p><code>\[Portal</code></p>                |
| 20211 | <p>プロファイルが削除されました</p><p><code>\[Portal</code></p>                       |
| 20501 | <p>階層が追加されました</p><p><code>\[Portal</code></p>                           |
| 20502 | <p>階層が削除されました</p><p><code>\[Portal</code></p>                           |
| 20503 | <p>階層が更新されました</p><p><code>\[Portal</code></p>                           |
| 20504 | <p>エンティティの定義が更新されました</p><p><code>\[Portal</code></p>                    |
| 20505 | <p>Collectorの割り当てが更新されました</p><p><code>\[Portal</code></p>               |
| 20701 | <p>Engineが追加されました</p><p><code>\[Portal</code></p>                       |
| 20702 | <p>Engineが削除されました</p><p><code>\[Portal</code></p>                       |
| 20703 | <p>Engineが接続されました</p><p><code>\[Portal</code></p>                       |
| 20704 | <p>Engineが切断されました</p><p><code>\[Portal</code></p>                       |
| 20801 | <p>Finderユーザーがログインしました</p><p><code>\[Portal</code></p>                  |
| 20803 | <p>Finderユーザーのログインに失敗しました</p><p><code>\[Portal</code></p>               |
| 20804 | <p>ライブラリパックのインポートリクエスト（大規模なパックに対してのみ発行）</p><p><code>\[Portal</code></p> |
| 20901 | <p>リモートアクションが更新されました</p><p><code>\[Portal</code></p>                    |
| 20902 | <p>リモートアクションが作成されました</p><p><code>\[Portal</code></p>                    |
| 20903 | <p>リモートアクションが削除されました</p><p><code>\[Portal</code></p>                    |
| 20911 | <p>メトリックが更新されました</p><p><code>\[Portal</code></p>                        |
| 20912 | <p>メトリックが作成されました</p><p><code>\[Portal</code></p>                        |
| 20913 | <p>メトリックが削除されました</p><p><code>\[Portal</code></p>                        |
| 20921 | <p>サービスが更新されました</p><p><code>\[Portal</code></p>                         |
| 20922 | <p>サービスが作成されました</p><p><code>\[Portal</code></p>                         |
| 20923 | <p>サービスが削除されました</p><p><code>\[Portal</code></p>                         |
| 20931 | <p>キャンペーンが更新されました</p><p><code>\[Portal</code></p>                       |
| 20932 | <p>キャンペーンが作成されました</p><p><code>\[Portal</code></p>                       |
| 20933 | <p>キャンペーンが削除されました</p><p><code>\[ポータル</code></p>                         |
| 20941 | <p>カテゴリーが更新されました</p><p><code>\[ポータル</code></p>                          |
| 20942 | <p>カテゴリーが作成されました</p><p><code>\[ポータル</code></p>                          |
| 20943 | <p>カテゴリーが削除されました</p><p><code>\[ポータル</code></p>                          |
| 21001 | <p>Finder を介したリモートアクションの手動実行</p><p><code>\[ポータル</code></p>              |
| 21002 | <p>API を介したリモートアクションの外部実行</p><p><code>\[ポータル</code></p>                 |
| 21003 | <p>API v2 を介したリモートアクションの外部実行</p><p><code>\[ポータル</code></p>              |
| 21101 | <p>Finder からトリガーされたメトリックの計算</p><p><code>\[ポータル</code></p>               |
| 21102 | <p>クエリによってトリガーされたメトリック履歴の消去</p><p><code>\[ポータル</code></p>               |
| 21103 | <p>Finder からトリガーされたメトリックの消去</p><p><code>\[ポータル</code></p>               |
| 21104 | <p>クエリによってトリガーされたメトリックの計算</p><p><code>\[ポータル</code></p>                 |
| 21201 | <p>モジュールが公開されました</p><p><code>\[ポータル</code></p>                          |
| 21202 | <p>モジュールが削除されました</p><p><code>\[ポータル</code></p>                          |
| 21203 | <p>モジュールが置き換えられました</p><p><code>\[ポータル</code></p>                        |
| 21501 | <p>ダッシュボードが削除されました</p><p><code>\[ポータル</code></p>                        |
| 21301 | <p>ソフトウェアメータリングメトリックが更新されました</p><p><code>\[ポータル</code></p>              |
| 21302 | <p>ソフトウェアメータリングメトリックが削除されました</p><p><code>\[ポータル</code></p>              |
| 21303 | <p>ソフトウェアメータリングメトリックが有効化されました</p><p><code>\[ポータル</code></p>             |
| 21304 | <p>ソフトウェアメータリングメトリックが無効化されました</p><p><code>\[ポータル</code></p>             |
| 21401 | <p>ソフトウェアメータリングモジュールが更新されました</p><p><code>\[ポータル</code></p>              |
| 21402 | <p>ソフトウェアメータリングモジュールが作成されました</p><p><code>\[ポータル</code></p>              |


---

# 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.nexthink.com/platform/ja/security/exporting-audit-logs/audit-trail-codes-portal-classic.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.
