Sign inSign up

trajano/aws-elasticsearch-beats

By trajano

Updated almost 8 years ago

Filebeats that is setup to read the Docker logs to be sent to AWS ElasticSearch.

Image
0

407

trajano/aws-elasticsearch-beats repository overview

AWS ElasticSearch Beats

This is a mostly-preconfigured Filebeats that is setup to read the Docker logs to be sent to AWS ElasticSearch.

Docker Swarm usage

version: "3.5"
services:
  filebeat:
    image: trajano/aws-elasticsearch-beats
    environment:
      # just the hostname portion the following is an example
      AWS_ELASTICSEARCH_HOSTNAME: vpc-trajano-owe5rf7krqeblvziqykhrj3xcm.ca-central-1.es.amazonaws.com
    # read only access to the /var/lib/docker/containers folder which contain the logs
    # Access to docker socket is needed to get docker meta data.
    volumes:
    - /var/lib/docker/containers:/var/lib/docker/containers:ro
    - /var/run/docker.sock:/var/run/docker.sock:ro
    deploy:
      # so it will be deployed to every node
      mode: global
      restart_policy:
        condition: any
        delay: 10s
      resources:
        limits:
        memory: 32M  

Tag summary

Content type

Image

Digest

Size

110 MB

Last updated

almost 8 years ago

docker pull trajano/aws-elasticsearch-beats