Skip to content

About

Logstash boilerplate to prepare Scalingo deployment

Resources

Stars

0 stars

Watchers

7 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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 OpenSearch 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

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
  • OPENSEARCH_URL full URL of the OpenSearch database

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"

About

Logstash boilerplate to prepare Scalingo deployment

Resources

Stars

0 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors