mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 23:51:08 +02:00
* Update README Let contributors know that docs will now be located in UDR * Add comments to each mdx doc Comment has been added to all mdx docs that are not partials * chore: added changelog changelog check failure * wip: removed changelog * Fix content errors * Doc spacing * Update website/content/docs/deploy/kubernetes/vso/helm.mdx Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com> --------- Co-authored-by: jonathanfrappier <92055993+jonathanfrappier@users.noreply.github.com> Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
87 lines
2.9 KiB
Plaintext
87 lines
2.9 KiB
Plaintext
---
|
||
layout: docs
|
||
page_title: operator utilization - Command
|
||
description: |-
|
||
The "operator utilization" generates license utilization reporting bundles for the Vault Enterprise users.
|
||
---
|
||
|
||
> [!IMPORTANT]
|
||
> **Documentation Update:** Product documentation, which were located in this repository under `/website`, are now located in [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs), colocated with all other product documentation. Contributions to this content should be done in the `web-unified-docs` repo, and not this one. Changes made to `/website` content in this repo will not be reflected on the developer.hashicorp.com website.
|
||
|
||
# operator utilization
|
||
|
||
The `operator utilization` allows the Vault Enterprise users to generate license
|
||
utilization reporting bundles. When users have disabled automated license
|
||
reporting, use this command to manually generate the report and send it to
|
||
HashiCorp.
|
||
|
||
<Note title="Vault Enterprise">
|
||
|
||
Refer to the [manual license utilization
|
||
reporting](/vault/docs/enterprise/license/manual-reporting) page to learn more
|
||
about reporting your Vault Enterprise license utilization.
|
||
|
||
</Note>
|
||
|
||
## Examples
|
||
|
||
Create a license utilization bundle that includes all persisted historical
|
||
snapshots and has the default bundle name
|
||
(`vault-utilization-<time_stamp>.json`):
|
||
|
||
```shell-session
|
||
$ vault operator utilization
|
||
Success! License utilization reporting bundle written to: vault-utilization-2024-02-16T22-23-25Z.json
|
||
```
|
||
|
||
Create a license utilization bundle with a message about the bundle, and output
|
||
the file at the specified path, `/utilization/reports/latest.json`.
|
||
|
||
```shell-session
|
||
$ vault operator utilization \
|
||
-message="Change Control 654987" \
|
||
-output="/utilization/reports/latest.json"
|
||
```
|
||
|
||
**Example output:**
|
||
|
||
<CodeBlockConfig hideClipboard>
|
||
|
||
```plaintext
|
||
Success! License utilization reporting bundle written to: /utilization/reports/latest.json
|
||
```
|
||
|
||
</CodeBlockConfig>
|
||
|
||
The message, `Change Control 654987`, is included in the _server log_, but not
|
||
in the bundle.
|
||
|
||
**Example entry in the server log:**
|
||
|
||
<CodeBlockConfig hideClipboard>
|
||
|
||
```plaintext
|
||
[INFO] reporting: generating license utilization bundle
|
||
[INFO] reporting: generating license utilization bundle: message="Change Control 654987"
|
||
```
|
||
|
||
</CodeBlockConfig>
|
||
|
||
## Usage
|
||
|
||
The following flags are available in addition to the [standard set of
|
||
flags](/vault/docs/commands) included on all commands.
|
||
|
||
### Command options
|
||
|
||
- `-message` `(string; "")` - Provide context about the conditions under which
|
||
the report was generated and submitted. This message is not included in the
|
||
license utilization bundle but will be included in the vault server logs.
|
||
|
||
- `-output` `(string; "")` - Specifies the output path for the bundle. Defaults
|
||
to a time-based generated file name.
|
||
|
||
- `-today-only` `(bool: false)` - To include only today’s snapshot, no
|
||
historical snapshots. If no snapshots were persisted in the last 24 hrs, it
|
||
takes a snapshot and exports it to a bundle.
|