Source: https://github.com/haeramkeem/multidockers/tree/main/fluentd-es-sidecar
docker build -t $IMAGE_TAG .
FLUENTD_VER
: Version of the Fluentd image. Default isv1.14-1
ES_CLIENT_VER
: Version of the Elasticsearch client package. Default is7.17.1
ES_HOST_URL
: URL of the Elasticsearch. No defaults.ES_HOST_PORT
: Port of the Elasticsearch. Default is9200
SRC_FORMAT
: Format of the source data. Default isnone
SRC_FILE_PATH
: Path of the source file. No defaults.SRC_TAG
: Fluentd tag of the souce data. Defaults ismypod
.
Official docker image can be found in here