Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

vmware-archive/docker-logstash-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-logstash-server

Builds a docker image for running logstash-server in container.

Requirements

A working Docker setup and a valid shell (e.g., bash).

An elasticsearch cluster must be running.

To join an existing cluster, run a registrator container beside this container and pass in the SERVICENAME="elasticsearch-9300.service.consul" or similar for the elastic search service pool.

Getting Started

Build the container and run it.

./build.sh
docker run -d vmware-opencloud/logstash-server

By default, we join any running containers in elasticsearch-9300.service.consul running with CLUSTERNAME="default_clustername". We use DNS SRV records to identify the nodes in the cluster to join. Set SERVICENAME environment variable to a SVR record, or to the consul service name for the pool, which is the same thing.

After upping the logstash server, you can send logs to it and those will be forwarded on to the elasticsearch cluster at $SERVICENAME

Example

docker run -d gliderlabs/registrator:master
docker run -d vmware-opencloud/logstash-server

License and Copyright

Copyright 2015 VMware, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author Information

Created in 2015 by Tom Scanlan / VMware.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages