There was a bug in the Elasticsearch output plugin. When setting the LOGS_TOKEN in a Docker configuration, while not setting the token in the output section of the Logagent conf file, the Elasticsearch output plugin would not read the token at all if the logs were being parsed from a file on the host machine.
This adds a fix for setting LOGS_TOKEN in a Docker env and reading file input from files on the host machine.
There was a bug in the Elasticsearch output plugin. When setting the
LOGS_TOKEN
in a Docker configuration, while not setting the token in theoutput
section of the Logagent conf file, the Elasticsearch output plugin would not read the token at all if the logs were being parsed from a file on the host machine.This adds a fix for setting
LOGS_TOKEN
in a Docker env and reading file input from files on the host machine.