> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/jp/commander-sdk/keeper-commander-sdks/sdk-command-reference/reporting-commands/audit-log-report-command.md).

# 監査ログレポートコマンド

### 監査ログ <a href="#audit-log" id="audit-log"></a>

Keeperエンタープライズの監査イベントを、外部システムまたはローカルファイルへエクスポートします。レコードに基づく構成や増分エクスポートの状態を保持でき、Pythonコマンダーと同様の挙動です。

<details>

<summary>DotNet CLI</summary>

**近日公開**

</details>

<details>

<summary>DotNet SDK</summary>

**近日公開**

</details>

<details>

<summary>PowerCommander</summary>

**コマンド:** `Export-KeeperAuditLog`

**別名:** `kal`

**パラメーター:**

* `-Target` エクスポート先: `json`、`syslog`、`splunk`、`sumo`、`azure-la`、`syslog-port`
* `-Record` エクスポート設定と増分状態を保存する Keeper レコードのタイトルまたは UID
* `-FilePath` `json` および `syslog` 用の出力ファイルパス
* `-Url` `splunk` および `sumo` のエンドポイント URL
* `-Token` Splunk HEC トークン (`splunk` のとき必須)
* `-SyslogHost` `syslog-port` 用リモート syslog サーバーのホスト
* `-SyslogPort` `syslog-port` 用リモート syslog サーバーのポート
* `-SyslogProtocol` `syslog-port` 用の `tcp` または `udp`
* `-UseSsl` TCP の `syslog-port` で TLS を使用
* `-OctetCounting` `syslog-port` で RFC 5425 フレーミングを使用
* `-WorkspaceId` Azure Log Analytics のワークスペース ID
* `-WorkspaceKey` Azure Log Analytics のワークスペースキー
* `-SharedFolderUid` 共有フォルダ UID でフィルター
* `-NodeId` エンタープライズノード ID でフィルター
* `-Days` 直近 N 日分のイベントのみエクスポート
* `-LastEventTime` 以前の Unix タイムスタンプからエクスポートを再開
* `-Anonymize` ユーザー名とメールをエンタープライズユーザー ID に置換
* `-IgnoreCertificateErrors` `splunk`、`sumo`、`azure-la` で証明書検証エラーを無視

**例:**

{% code overflow="wrap" %}

```powershell
PS > Export-KeeperAuditLog -Target json -FilePath "audit_events.json" -Days 7
Exported 4271 audit event(s).                                                                                 

ExportedCount LastEventTime Target Success
------------- ------------- ------ -------
         4271    1774947466 json      True
```

{% endcode %}

</details>

<details>

<summary>Python CLI</summary>

**近日公開**

</details>

<details>

<summary>Python SDK</summary>

**近日公開**

</details>


---

# 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.keeper.io/keeperpam/jp/commander-sdk/keeper-commander-sdks/sdk-command-reference/reporting-commands/audit-log-report-command.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.
