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

### 監査ログ <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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeperpam/jp/commander-sdk/keeper-commander-sdks/sdk-command-reference/reporting-commands/audit-log-report-command.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
