Manual license utilization reporting
Vault Enterprise license required
Manual license utilization reporting allows you to export, review, and send license utilization data to HashiCorp via the CLI or HCP Web Portal. Use these reports to understand how much more you can deploy under your current contract, protect against overutilization, and budget for predicted consumption. Manual reporting shares the minimum data required to validate license utilization as defined in our contracts. The reports consist of mostly computed metrics and will never contain Personal Identifiable Information (PII) or other sensitive information.
Manual license utilization shares the same data as automated license utilization but is more time consuming. Unless you are running in an air-gapped environment or have another reason to report data manually, we strongly recommend using automated reporting instead. If you have disabled automated license reporting, you can re-enable it by reversing the opt-out process described in the documentation.
If you are considering manual reporting because you’re worried about your data, we strongly recommend that you review the example payloads, which are the same for automated and manual reporting. If you have further concerns with any of the automatically-reported data please bring them to your account manager before opting out of automated reporting in favor of manual reporting.
How to manually send data reports
Generate a data bundle
Data bundles include collections of JSON snapshots that contain license utilization information.
Login into your cluster node.
Run this CLI command to generate a data bundle:
By default, the bundle will include all historical snapshots.
You can provide context about the conditions under which the report was generated and submitted by providing a comment. This optional comment will not be included in the license utilization bundle, but will be included in the Vault server logs.
Example:
This command will export all the persisted snapshots into a bundle. The message “Change Control 654987” will not be included in the bundle but will be included in Vault server logs. The
-output
flags specifies the output location of the JSON bundle.Available command flags:
-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. (optional)-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. (optional)-output
(string: “”)
- Specifies the output path for the bundle. Defaults to a time-based generated file name. (optional)
Send the data bundle to HashiCorp
Go to https://portal.cloud.hashicorp.com/license-utilization/reports/create
Click on Choose files, or drop your file(s) into the container.
a. If the upload succeeded, the HCP user interface will change the file status to Uploaded in green.
b. If the upload failed, the file status will say Failed in red, and will include error information.
If the upload fails make sure you haven’t modified the file signature. If the error persists, please contact your account representative.
Enable manual reporting
Upgrade to a release that supports manual license utilization reporting. These releases include:
- Vault Enterprise 1.16.0 and later
- Vault Enterprise 1.15.6 and later
- Vault Enterprise 1.14.10 and later
Configuration
Administrators can manage disk space for storing snapshots by defining the number of days snapshots can be retained.
The default retention period is 400 days.
Data file content