Skip to main content

Usage

Description

The npx wgc audit-log stream get command prints the organization’s audit log stream configuration, when the collector last accepted a delivery (a batch or a stream test event), and the last delivery error, if any. The token is masked to its last four characters.

Options

  • --json : Prints the configuration as JSON. Prints null if no stream is configured. If the request fails, prints { "status": "error", "code", "message", "details" } and exits with code 1.

Examples

If the collector rejected the last batch, a Last error line shows when and why. Delivery retries every 30 seconds from the same point until it succeeds.