Git Product home page Git Product logo

solit's Introduction

Logstash Integration Test

solit is a tool for doing end to end integration tests of your logstash and elasticsearch configs.

solit can be used hooked up to your CI system of choice and can be used to automatically test configuration changes to Logstash/ES to keep regressions from causing downtime or breaking your Elastic Stack pipelines.

Requirements

  • Docker 17.09.0-ce+, but any "modern" version should work
  • Python

Docker for Windows

The Docker for Windows is a bit trickerier and you have to setup File Sharing (volume mounts).

There are also few other requirements in the requirements-win.txt file. Please look at those.

Installation

Easiest way is to install via pip:

pip install solit

Install from source:

  1. Clone this repo
  2. run python setup.py install from the solit directory

NOTE: the first time you run this, it will take some time to download the images needed for running the tests but each time afterwards will be faster.

Usage

See the examples directory for examples on how to setup your tests and your repo for logstash/elastic serach config files

From the examples directory just run solit

Lingering Containers

solit should be able to clean up after itself, but if for some reasong it crashes and doesn't properly clean up. And the tests are failing to run. Just run docker system prune to have Docker cleanup any lingering containers, lingering networks, etc...

Examples

For example usage and integration with TravisCI please see: https://github.com/fxdgear/solit-examples

solit's People

Contributors

fxdgear avatar

Stargazers

Mohamed Meabed avatar peja avatar Benjamin-Yves Trapp avatar Thomas avatar  avatar  avatar John Costa avatar

Watchers

Riccardo Magliocchetti avatar Quin Hoxie avatar Marcello Prattico avatar John Harmon avatar Maurizio Branca avatar Wes Mason avatar Luca Belluccini avatar Kevin Oberlies avatar  avatar  avatar Russ Cam avatar Nik Everett avatar Andrea Turli avatar Nicolas Ruflin avatar Pablo Alcantar Morales avatar Tiago Queiroz avatar Alvin Richards avatar Njal Karevoll avatar Denis Karabanov avatar Ludovic Hirlimann avatar Keith Massey avatar Enrico Zimuel avatar Simon Hearne avatar Aurélien FOUCRET avatar Martin Liu avatar Gerry Narvaja avatar Nick Clark avatar Dai Sugimori avatar Suganthi avatar  avatar Clinton Buelter avatar Tarik B avatar Bret Wortman avatar Poff Poffenberger avatar W. Davis avatar Bahaaldine avatar James Cloos avatar Aleksandr Maus avatar Richie Jarvis avatar Daniel Battaglia avatar David Erickson avatar Michael Morello avatar Mark Tozzi avatar Jose Ignacio Gil Jaldo avatar Lukas Wegmann avatar Francisco Fernández Castaño avatar Andrea Selva avatar Krishnan Anantheswaran avatar Gergely Kalapos avatar Adrian Bruinhout avatar Jesse Bacon avatar Andrei Dan avatar Pat Whelan avatar Michael Moritz avatar Tim Hemingway avatar Yngrid Coello avatar Glen Smith avatar Steve Kearns avatar Pas Apicella avatar Nikos Silvestros avatar Bosch avatar Antonio avatar Greg Marzouka avatar Erik Redding avatar Ross Bell avatar Karen Grigoryan avatar Francois Teychene avatar Maurizio Romani avatar Charles Halliday avatar Gabriel Moskovicz avatar Andrew Gizas avatar Justin Lim avatar Ken Westin  avatar Jason Slater avatar Henry Pak avatar Paul Oremland avatar  avatar Thomas Neirynck avatar Daniel Araujo Almeida avatar Chad Tindel avatar Martha Chumo avatar Nick Drost avatar Asuka Nakajima avatar Jonas Lavoie avatar Lorenzo Dematté avatar Przemysław Hejman avatar Arthur Gonçalves avatar  avatar Gavin Williams avatar Tim Hosfelt avatar Jeff Tharp avatar  avatar Alexander Marquardt avatar jbon avatar Panagiotis Moustafellos avatar Craig Chamberlain avatar  avatar Olivier Bierlaire avatar John Kim avatar H 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.