An open API service indexing awesome lists of open source software.

https://github.com/shift/docker-logstash

Logstash Docker container.
https://github.com/shift/docker-logstash

Last synced: 9 months ago
JSON representation

Logstash Docker container.

Awesome Lists containing this project

README

          

# Logstash

Docker image inheritance:
* shift/java:8
* shift/ubuntu:15.04
* ubuntu:15.04

## Volumes

Logstashes configuration directory is `/srv/logstash/config`

## Ports

Exposed ports:
* 9292/tcp

## Example usage

```
docker run -d \
--name logstash \
-e LOGSTASH_TRACE=true \
-p 9292:9292 \
-e LOGSTASH_CONFIG_URL=http://example.com/my-logstash.conf \
--link elasticsearch:elasticsearch \
shift/logstash:1.5.0 agent
```

The container takes the following:

* agent - Start the logstash agent.
* configtest - Tests the configuration file is valid.
* shell - Gives a Bash shell.

Make sure to use ELASTICSEARCH_HOST and ELASTICSEARCH_PORT if using a `--link`
to Elasticsearch.