Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

QSFT/docker-doradus-logstash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Doradus Logstash Dockerfile

This is a highly configurable Doradus Logstash image running logstash, custom Doradus GEM and published to the public Docker Hub Registry. The docker container logs are read by mounting the directory containing your Docker data (/var/log/ in the below example) into the containers /host/var/log. The doradus-docker-logstash container monitors the mounted directory, tailing the log files, queueing up batches of records and when it either reaches the maximum batch size or when the maximum idle time has elapsed then docker-doradus-logstash would then write the log events to Doradus for enhanced performance reasons. The image employs the Doradus-logstash GEM to interact with Doradus which is characterized by batch_size, batch_wait and can be viewed at https://git.labs.dell.com/projects/BD/repos/logstash-output-batched_http/browse

Environment Variables

Runtime behavior of docker-doradus-logstash can be modified by passing the below environment to docker run :

  • DORADUS_HOST: URL of the Doradus hosting server.
  • DORADUS_PORT: Port-number of the Doradus service.
  • DOCKER_APP_NAME: Docker app name.
  • DOCKER_NAMESPACE: Docker namespace.
  • DOCKER_DORADUS_USER: Doradus User.
  • DOCKER_DORADUS_PWD: Doradus Password.

How to build the image

sudo docker build -t dell-oss/docker-doradus-logstash .

How to use this image

To start a basic container, execute the below command: docker run --env DORADUS_HOST=<Doradus_Host_Name> --env DORADUS_PORT=<Doradus_Port> --env DOCKER_APP_NAME=<Docker_App_Name> --env DOCKER_NAMESPACE=<Docker_Namespace> --env DOCKER_DORADUS_USER=<Doradus_User> --env DOCKER_DORADUS_PWD=<Dradus_Password> -v /var/log:/host/var/log --name <container-name> -i -t dell-oss/docker-doradus-logstash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages