WARNING: Version 5.5 of Packetbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Console Outputedit
The Console output writes events in JSON format to stdout.
output.console: pretty: true
Console Output Optionsedit
You can specify the following options in the console
section of the packetbeat.yml
config file:
prettyedit
If pretty
is set to true, events written to stdout will be nicely formatted. The default is false.
codecedit
Output codec configuration. If the codec
section is missing, events will be json encoded using the pretty
option.
See Output Codec for more information.
enablededit
The enabled config is a boolean setting to enable or disable the output. If set to false, the output is disabled.
The default value is true.
bulk_max_sizeedit
The maximum number of events to buffer internally during publishing. The default is 2048.
Specifying a larger batch size may add some latency and buffering during publishing. However, for Console output, this setting does not affect how events are published.
Setting bulk_max_size
to 0 disables buffering in libbeat.