Skip to content

Commit

Permalink
docs: console output
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorelli25 committed Jan 9, 2020
1 parent 49c519d commit dbc3cce
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions docs/copied-from-beats/outputs/console/docs/console.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@

The Console output writes events in JSON format to stdout.

To use this output, edit the {beatname_uc} configuration file to disable the {es}
output by commenting it out, and enable the console output by adding `output.console`.

Example configuration:

[source,yaml]
------------------------------------------------------------------------------
output.console:
Expand All @@ -15,7 +20,14 @@ output.console:

==== Configuration options

You can specify the following options in the `console` section of the +{beatname_lc}.yml+ config file:
You can specify the following `output.console` options in the +{beatname_lc}.yml+ config file:

===== `enabled`

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`.

===== `pretty`

Expand All @@ -27,14 +39,6 @@ Output codec configuration. If the `codec` section is missing, events will be js

See <<configuration-output-codec>> for more information.


===== `enabled`

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_size`

The maximum number of events to buffer internally during publishing. The default is 2048.
Expand Down

0 comments on commit dbc3cce

Please sign in to comment.