I'd like to debug processing of events by production filebeat.yml trying to redirect input and output for filebeat to console. Input can be redefined by -E with no problems but output redirection is fairly impossible.
Assuming filebeat.yml like
...
output: logstash.hosts: [ 'host:port' ]
...
if we run
filebeat -E 'output={console:{pretty:true}}'
we encounter error about 'more than one output'. In my opinion this -E should override whole definition of output, but seems only merge to one in .yml file. Is this bug in -E application? Is there any other possibility of redirection of output with no modification to original .yml file