Skip to main content

Download Billing Logs

Overview

The Download Logs feature allows clients to download from the usage page of the HyperVerge dashboard:

  • Monthly API Usage Logs
  • Platform Usage Logs

The logs are generated in the background and delivered via email.


How it works (client flow)

Step 1: Download from dashboard

  1. Go to the HVONE Dashboard.
  2. Click on the Download Logs button.
  3. You will see a success message confirming that the request has been submitted.
warning

At this stage, the logs are not downloaded immediately. The system starts preparing them in the background.


Step 2: Receive email

  • Once the logs are ready, the client receives an email.
  • The email contains:
    • Download link(s) for the requested logs.
    • Each link allows the client to download the log file directly.
    • Download links are valid for 1 hour.

Download logs email sample


Important points to know

  • Logs are not downloaded instantly from the dashboard.
  • The system may take a few minutes to generate the logs.
  • The download link is sent only via email.
  • Each request generates a new email with fresh download links.
  • Links are valid only for 1 hour from the time the email is sent.

Exporting additional columns in download logs APIs

The Billing Log Export APIs support two export modes:

  • Default Column Set — A predefined subset of columns.
  • Full Column Set — Includes all available columns.

The exported column set is controlled via client-level feature flags. These flags are configured per client and can be enabled independently for:

  • Monthly Logs
  • Finish Transaction (FT) Logs

When a flag is enabled for a client, the export will include all columns. When disabled (or absent), the export will include only the default column set.

Feature flags

Flag IDScopeDescription
billing-monthly-logs/download-all-columnsclientIdEnables full column export for Monthly Logs when set to true.
billing-ft-logs/download-all-columnsclientIdEnables full column export for FT Logs when set to true.

Key notes

  • Flags are evaluated per client.
  • Flags operate independently.
    • Example: Monthly Logs may export all columns while FT Logs export only default columns.
  • If a flag is omitted or set to false, the default column set is used.

Configuration source

Client configurations are maintained in:

  • Repository: hv-central-config

  • S3 Path:

    s3://hv-central-config/audit-portal/prod/client-configurations/<clientId>.json

The Billing backend reads configuration from this location.

Feature flags are defined under the featureFlagConfig section of the client configuration file.

Example configuration

Enable full column export for both Monthly and FT Logs:

{
"featureFlagConfig": {
"billing-monthly-logs/download-all-columns": {
"default": true
},
"billing-ft-logs/download-all-columns": {
"default": true
}
}
}

Behavior:

  • "default": true → Full column set is exported.
  • "default": false or flag omitted → Default column set is exported.

Reference merge request example: hv-central-config #8138.

Column definitions

Monthly Logs

Default Columns (Flag Disabled)Full Column Set (Flag Enabled)
requestidappid
appidevent_module
reference_idevent_timestamp
transaction_idoriginalurl
statuscodeproduct
originalurlreference_id
event_timestamprequestid
statuscode
transaction_id
workflow_id

Finish Transaction (FT) Logs

Default Columns (Flag Disabled)Full Column Set (Flag Enabled)
app_idid
transaction_idapp_id
workflow_idtransaction_id
statusstatus
completed_atworkflow_id
started_atsdk_version
platform
event_timestamp
started_at
completed_at
transaction_start_timestamp

Enabling full column export for a client

To enable full column export:

  1. Create or update the client configuration file in the hv-central-config repository.

  2. Ensure the file path matches the environment and client:

    audit-portal/prod/client-configurations/<clientId>.json
  3. Add or update the featureFlagConfig section.

  4. Set "default": true for:

    • billing-monthly-logs/download-all-columns
    • and/or billing-ft-logs/download-all-columns
  5. Create a merge request and complete the review process.

  6. After merge, the updated configuration is synced to S3.

  7. The Billing backend loads configuration from S3 (typically refreshed every ~15 minutes via scheduled job).

Was this helpful?
Ask AI

Ask anything about the internal documentation

AI answers are based on internal documentation. Verify critical information.