Skip to main content

# 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

Release files for solit 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solit 0.4
File Size Uploaded
solit-0.4.tar.gz 5.8 kB Details

Release files / solit-0.4.tar.gz

Download URL solit-0.4.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b3de31b16cb612908c438c4841845ed66be6191e9fb69a41425a39840b9cdf59
BLAKE2b-256 checksum
How to use checksums
a523d4a1345e3b58253b253edeb1b9c368eea72366b58bf90f57ef3bf8df0224
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page