Sending Docker log files to Elasticsearch

A Dockerfile that builds an image for sending Docker log files
to Eleasticsearch, a config file for fluentd and some helpful
shell scripts.
Oh, so
  docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -v
/data:/data dockerfile/elasticsearch
in the comment is not good enough? Or do I need to be more explicit?

On 25 September 2014 21:10, Tim Hockin <notifications@github.com> wrote:

> In contrib/fluentd-elasticsearch/docker-fluentd.sh:
>
> > @@ -0,0 +1,10 @@
> > +#!/bin/bash
> > +# This script runs the docker-fluentd image which sets up the
> > +# ingestion of Docker log files into Elasticsearch. This configuration
> > +# depends on a container running Elasticsearch which is linked.
> > +# Such a container can be run with:
> > +#   docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -v /data:/data dockerfile/elasticsearch
> > +
> > +set -e
> > +
> > +docker run --name docker-fluentd -d --link elasticsearch:elasticsearch -v /var/lib/docker/containers:/var/lib/docker/containers satnam6502/docker-fluentd
>
> you reference elasticsearch in the link, but nowhere in here does it say
> to run an elasticsearch container
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/1456/files#r18073103>
> .
>



-- 

Satnam Singh
Email: satnam@raintown.org satnam6502@gmail.com
Cell (USA): +1 408 656 4590
Office: +1 650 214 4488
Mobile (UK): +44 7979 648412

   - www.linkedin.com/pub/satnam-singh/5/b31/884/