> ## Documentation Index
> Fetch the complete documentation index at: https://cosmo-docs.wundergraph.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test

> Sends a test event to the configured audit log stream.

## Usage

```bash theme={"system"}
npx wgc audit-log stream test
```

## Description

The `npx wgc audit-log stream test` command sends a single test event to the configured collector. If the collector rejects it, the command fails and prints the collector's response, e.g. `Collector responded with 403: Invalid token`.

Run it after `npx wgc audit-log stream set splunk-hec` to check the endpoint, token and index.

## Examples

```bash theme={"system"}
npx wgc audit-log stream test
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.