Skip to content

A logstash cartridge for Openshift. It includes auto configuration if used in conjunction with my Elasticsearch cartridge and configuration files are pushed with git.

Notifications You must be signed in to change notification settings

ajagnanan/openshift-logstash-cartridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift Logstash Cartridge

This cartridge provides a Logstash installation for Openshift. It is a cartridge, so it'll need an existing Openshift application to be added too. It is mainly user configuration driven because the configuration files can be uploaded as part of the gear's repository. If using my openshift-elasticsearch cartridge, it'll auto configure the access.log to be inputted into Elasticsearch. It'll use the user credentials that Kibana uses if shield is installed.

To add this cartride, run:

rhc cartridge add https://cartreflect-claytondev.rhcloud.com/github/ajagnanan/openshift-logstash-cartridge -a <app>

Configuration

Configuration files can be added in your repository's logstash folder. Follow the samples provided in the template/logstash directory. Multiple configuration files can be used and a guide of that is found here.

Updates

This cartridge is upgradeable. The setup looks at an environment variable to handle the upgrade.

The steps are as follows:

  • rhc set-env LOGSTASH_VERSION=1.4.2 -a [app] --namespace [domain]
  • trigger a deploy by pushing a change with git

License

This cartridge is MIT licensed.

About

A logstash cartridge for Openshift. It includes auto configuration if used in conjunction with my Elasticsearch cartridge and configuration files are pushed with git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published