Public | Automated Build

Last pushed: a year ago
Short Description
This repository contains Docker image of Logstash.
Full Description

Logstash Docker

This repository contains Dockerfile of Logstash and other scripts
for Docker's.

Base Docker Image

Installation

  1. Install Docker.

  2. Pull image from Docker hub(https://hub.docker.com/):

docker pull oisis/docker-logstash

  1. Alternatively build an image from Dockerfile:

docker build -t oisis/logstash .

Usage

  • Run with Elasticsearch address:
    docker run -d --name logstash -e ELASTICSEARCH_ADDR=elasticsearch:9200 \
    oisis/logstash
    

Supported variables:

  • LS_INPUT_PORT: Port to listen for requests
  • ELASTICSEARCH_ADDR: Elasticsearch host address
  • ELASCTICSEARCH_INDEX: Elasticsearch index to create and write
  • ELASTICSEARCH_USER: Username to login to Elasticsearch(basic auth)
  • ELASTICSEARCH_PASSWD: Password to login to Elasticsearch(basic auth)
Docker Pull Command
Owner
oisis
Source Repository

Comments (0)