GithubHelp home page GithubHelp logo

isabella232 / docker-logstash-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aptible/docker-logstash

0.0 0.0 0.0 28 KB

License: MIT License

Ruby 30.54% Makefile 30.62% Shell 22.60% HTML 2.92% Dockerfile 13.32%

docker-logstash-2's Introduction

Logstash

Build Status

Logstash on Docker, configured with an HTTP listener.

Installation and Usage

To run as an app on Aptible:

  1. Create an app on your Aptible Dashboard for Logstash. In the steps that follow, we'll use YOUR_LOGSTASH_HANDLE to refer to the handle you chose for your app. Make sure you substitute it for the actual handle accordingly!

  2. Use the Aptible CLI to configure Logstash. That's where you'll provide your Logstash filter and output configurations: LOGSTASH_FILTER_CONFIG is injected in the filter { } block (between the braces), and LOGSTASH_OUTPUT_CONFIG is injected in the output { } block (likewise). Refer to the Logstash documentation for more information. Just make sure you don't log to stdout or stderr, or you might end up sending Logstash its own logs for processing (would be very bad).

# Example configuration. Note that you MUST set DISABLE_WEAK_CIPHER_SUITES=true

aptible config:set --app YOUR_LOGSTASH_HANDLE \
  LOGSTASH_FILTER_CONFIG='' \
  LOGSTASH_OUTPUT_CONFIG='' \
  FORCE_SSL=true \
  DISABLE_WEAK_CIPHER_SUITES=true
  1. Clone this repository and push it to your Aptible app:
git clone https://github.com/aptible/docker-logstash.git
cd docker-logstash
git remote add aptible [email protected]:YOUR_LOGSTASH_HANDLE.git
git push aptible master
  1. Create a HTTPS endpoint for your app in Aptible. Make sure your certificate is valid if you intend to use this app as a HTTPS log drain.

Now, you'll probably want to start sending logs to your Logstash instance! To do so, jump to step 2 of "How do I setup a HTTPS log drain?".

Plugins

By default, this image includes a selection of common Logstash codec, filter, and output plugins. If you need additional plugins, edit ./Gemfile.

Available Tags

  • latest: Currently Logstash 2.2.1

Tests

Tests are run as part of the Dockerfile build. To execute them separately within a container, run:

bats test

Deployment

To push the Docker image to Quay, run the following command:

make release

Copyright

MIT License, see LICENSE for details.

Copyright (c) 2019 Aptible. All rights reserved.

@krallin

docker-logstash-2's People

Contributors

gib avatar krallin avatar usernotfound 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.