How to configure a Beat to log to the console

Hi,

I'm trying to configure a Beat in a Docker container, that's why I need my beat to log to stdout/stderr. In the logging section of the configuration file, it is written:

# There are three options for the log ouput: syslog, file, stderr.
# Under Windows systems, the log files are per default sent to the file output,
# under all other system per default to syslog.

I wouldlike to enable the third logging mode stderr. I already try to add to_stderr: true in the logging section but it does not seam to work.

Any idea?

Thanks!

Thibaut

Starting up the beat with '-e' always enabled stderr for logging.

thanks for answering my question!