Discard
Synopsis
Creates a target that discards all incoming log messages.
Schema
- id: <numeric>
name: <string>
description: <string>
type: discard
tags: <string[]>
pipelines: <pipeline[]>
status: <boolean>
Configuration
The following are the minimum requirements to define the target.
Field | Required | Default | Description |
---|---|---|---|
id | Y | - | Unique identifier |
name | Y | - | Target name |
description | N | - | Optional description |
type | Y | - | Must be discard |
tags | N | - | Optional tags |
pipelines | N | - | Optional post-processor pipelines |
status | N | true | Enable/disable the target |
Details
This target accepts any log data, but does not store or forward it. It is useful for development, benchmarking and load testing data ingestion without storage overhead, and debugging pipeline configurations.
warning
Data sent to this target is permanently lost and cannot be recovered.
Examples
The configuration for discarding logs:
Creating a discard target... |
|