Giter Club home page Giter Club logo

logstash-scalingo's Introduction

Logstash boilerplate

This repository contains a boilerplate for deploying logstash on Scalingo.

You have three different configuration available:

  • logstash.conf: this configuration will listen for http request authenticated by the authentication information passed in the USER and PASSWORD environment variables and send it to and elasticsearch database. This will also parse url defined variables.
  • logstash-json.conf this configuration is based on the previous one but if the content is a valid json it will parse it
  • logstash-kv.conf this configuration is based on logstash.conf but it will also parse the content to search and parse patterns like key=value

By default we are using the logstash.conf configuration, but you can use another one by changing the web process of the Procfile from: web: bin/logstash -f logstash.conf

To:

web: bin/logstash -f logstash-json.conf

To:

web: bin/logstash -f logstash-kv.conf

Configuration

You will need to configure the following environment variables:

  • USER the username that you will use to authenticate against your logstash instance
  • PASSWORD the password that you will use to authenticate against your logstash instance
  • ELASTICSEARCH_URL the URL of your elasticsearch instance. (If you use our Elasticsearch addon, this will be automatically added)

You will also change the change-me index name in the output section of your logstash configuration.

Updating Logstash version

To update your application with a more recent version of version of Logstash, the most straightforward method is to deploy your application. The used buildpack is defining the used version, which can be overrided with the environment variable LOGSTASH_VERSION.

To trigger the new deployment, either use:

  • The Manual Deployment feature of our GitHub or Gitlab
  • git push deployment after adding an empty commit to your project git commit --allow-empty -m "New deployment to update logstash"

logstash-scalingo's People

Contributors

soulou avatar sc-david-voisin avatar john-scalingo avatar brandon-welsch avatar curzolapierre avatar yalsicor avatar etiennem avatar

Watchers

 avatar Thomas Wickham avatar James Cloos avatar  avatar Jonathan Hurter avatar François avatar  avatar  avatar Méderic Bazart avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.