Public | Automated Build

Last pushed: a year ago
Short Description
This is logstash to elk for having Logging system centralized based in official repositories.
Full Description

docker-elk

The ELK stack makes searching and analyzing data easier than ever before. Using ELK you can gain insights in real-time from the log data from around the company.

<img src="https://raw.githubusercontent.com/softonic/docker-elk/master/imgs/elk.png" alt="Elk logo" title="Elk" align="center"/>

This elk is prepared to be used with marathon or docker-compose.

This stack contains 3 different containers. Elasticsearch, Logstash and Kibana. Each one is using official repository except by logstash, having preconfigured gelf input driver.

Use with Docker-compose

To send logs from your own containers to this elk, you should configure logging driver as gelf pointing to elk stack machine in your stack docker-compose

services:
  <container>:
    driver: gelf
      options:
          gelf-address: "udp://${NO_PROXY}:12201"
          tag: "<container-name>"
NO_PROXY env variable is machine IP, in mac -> docker-machine env --no-proxy

Use with Marathon

To send logs from your own containers to this elk, you should configure logging driver as gelf pointing to elk stack machine in your stack marathon.json

{
  "id": "<container>",
  "container": {
    "docker": {
      "parameters": [
        { "key": "log-driver", "value": "gelf" },
        { "key": "log-opt", "value": "gelf-address=udp://logstash-elk-sys.marathon:12201" },
        { "key": "log-opt", "value": "tag=<container-name>" }
      ]
    }
  }
}
Docker Pull Command
Owner
softonic
Source Repository