> For the complete documentation index, see [llms.txt](https://docs.weka.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.weka.io/6.0/getting-started-with-weka/weka-cli-overview/cli-reference-guide/weka-audit.md).

# weka audit

Manage WEKA filesystem and cluster auditing.

Manage filesystem and cluster audit services.

```sh
weka audit
```

## weka audit cluster

Manage cluster-wide audit settings.

```sh
weka audit cluster
```

### weka audit cluster decrypt-filename

Manage decryption of filenames in audit traces.

```sh
weka audit cluster decrypt-filename
```

#### weka audit cluster decrypt-filename disable

Disable decrypting filenames in audit traces.

```sh
weka audit cluster decrypt-filename disable
```

#### weka audit cluster decrypt-filename enable

Enable decrypting filenames in audit traces.

```sh
weka audit cluster decrypt-filename enable
```

### weka audit cluster decrypt-fullpath

Manage decryption of full file paths in audit traces.

```sh
weka audit cluster decrypt-fullpath
```

#### weka audit cluster decrypt-fullpath disable

Disable decrypting full file paths in audit traces.

```sh
weka audit cluster decrypt-fullpath disable
```

#### weka audit cluster decrypt-fullpath enable

Enable decrypting full file paths in audit traces.

```sh
weka audit cluster decrypt-fullpath enable
```

### weka audit cluster disable

Disable audit logging cluster-wide. Audit is telemetry's only consumer, so this also disables cluster-wide telemetry.

```sh
weka audit cluster disable
```

### weka audit cluster enable

Enable audit logging cluster-wide. Audit is telemetry's only consumer, so this also enables cluster-wide telemetry.

```sh
weka audit cluster enable
```

### weka audit cluster enhancer

Manage audit logging enhancement.

```sh
weka audit cluster enhancer
```

#### weka audit cluster enhancer disable

Disable audit logging enhancement cluster-wide.

```sh
weka audit cluster enhancer disable
```

#### weka audit cluster enhancer enable

Enable audit logging enhancement cluster-wide.

```sh
weka audit cluster enhancer enable
```

### weka audit cluster resolve-paths

Manage resolution of full file paths in audit traces.

```sh
weka audit cluster resolve-paths
```

#### weka audit cluster resolve-paths disable

Disable resolving full file paths in audit traces.

```sh
weka audit cluster resolve-paths disable
```

#### weka audit cluster resolve-paths enable

Enable resolving full file paths in audit traces.

```sh
weka audit cluster resolve-paths enable
```

### weka audit cluster set-global-operations

Set which operations are audited cluster-wide. This replaces the operations set before.

```sh
weka audit cluster set-global-operations <operations>…
```

| Parameter       | Description                                                                                                                                               |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `operations`\*… | Operations to audit, or 'All', or 'None' to audit nothing. Valid values: open, create, read, modify, delete, rename, close, sessionmanagement, all, none. |

### weka audit cluster stats

Show cluster-wide audit statistics.

```sh
weka audit cluster stats
```

### weka audit cluster status

Show the cluster-wide audit configuration.

```sh
weka audit cluster status
```

**Columns:** `enabled`, `audit_traces_enabled`, `operations`, `resolve_full_file_paths`, `audit_enhancement_enabled`, `decrypt_fullpath`, `decrypt_filename`

## weka audit fs

Manage per-filesystem audit settings.

```sh
weka audit fs
```


---

# 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.weka.io/6.0/getting-started-with-weka/weka-cli-overview/cli-reference-guide/weka-audit.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.
