Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Created September 11, 2022 19:06
Show Gist options
  • Save jmrobles/3cab679d58ba7c8accf1db51381e134c to your computer and use it in GitHub Desktop.
Save jmrobles/3cab679d58ba7c8accf1db51381e134c to your computer and use it in GitHub Desktop.
Dockerfile for fluentd with elasticsearch plugin
FROM fluent/fluentd:v1.15-debian-1
USER root
RUN gem uninstall -I elasticsearch
RUN gem install elasticsearch -v 7.17.0
RUN gem install fluent-plugin-elasticsearch --no-document --version 5.2.0
USER fluent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment