Null
Last updated
Was this helpful?
Supported event types: logs metrics
The Null output plugin discards events.
This plugin supports the following parameters:
format
Specify the data format. Supported formats: msgpack, json, json_lines, json_stream.
msgpack
json_date_format
Specify the format of the date. Supported formats: double, epoch, epoch_ms, iso8601 (for example, 2018-05-30T09:39:52.000681Z), and java_sql_timestamp (for example, 2018-05-30 09:39:52.000681).
double
json_date_key
Specify the name of the time key in the output record. To disable the time key, set the value to false.
date
You can run the plugin from the command line or through the configuration file:
From the command line you can let Fluent Bit discard events with the following options:
fluent-bit -i cpu -o nullIn your main configuration file append the following:
Last updated
Was this helpful?
Was this helpful?
pipeline:
inputs:
- name: cpu
tag: cpu
outputs:
- name: null
match: '*'[INPUT]
Name cpu
Tag cpu
[OUTPUT]
Name null
Match *