/docker-logstash

Logstash server Docker image

Primary LanguageShellOtherNOASSERTION

Logstash Docker Images

This is million12/logstash docker image with logstash server. It's based on CentOS-7 official docker image.

ENV variables

SERVER_CN

Default: SERVER_CN=server.com
For your own server canonical name, simply edit it.

Usage

Basic

docker run \
-d \
--name logstash \
-p 5000:5000 \
million12/logstash

Mount custom config , override some options

User can provide config (logstash.conf) file by sharing it from host os.

Run example (assuming your logstash.conf is located in /etc/logstash/logstash.conf on host os):

docker run \
-d \
--name logstash \
-p 5000:5000 \
-v /etc/logstash:/etc/logstash \
million12/logstash

Certificates will be created on the first run and kept in /etc/logstash/ssl directory.
If you run docker image with -v /etc/logstash:/etc/logstash certificates will accessible on host os in: /etc/logstash/ssl/*

Logstash Forwarder

For pushing your logs into Logstash make sure you have copied certificated to your logged machine and set up logstash-forwarder accourdigly to it's manual.

Authors

Author: Marcin Ryzycki (marcin@m12.io)
Author: Przemyslaw Ozgo (linux@ozgo.info)


Sponsored by Typostrap.io - the new prototyping tool for building highly-interactive prototypes of your website or web app. Built on top of TYPO3 Neos CMS and Zurb Foundation framework.

About this Repo

This is the Git repo of the Docker official image for logstash. See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.

The full readme is generated over in docker-library/docs, specifically in docker-library/docs/logstash.

See a change merged here that doesn't show up on the Docker Hub yet? Check the "library/logstash" manifest file in the docker-library/official-images repo, especially PRs with the "library/logstash" label on that repo. For more information about the official images process, see the docker-library/official-images readme.