Logstash pipeline tester
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.
Short Description
A tool that makes developing logstash pipelines much much easier.
Problem solved by this Code Snippet
Oh. The problem... Have you ever tried to write a logstash pipeline? Did you suffer hair loss and splitting migraines? So did I.
Presenting, logstash pipeline tester which gives you a web interface where you can paste raw logs, send them to the included logstash instance and see the result directly in the interface. The included logstash instance is also configured to automatically reload once it detects a config change.
How to use this Code Snippet
TLDR;
- Don't do this, read the manual or checkout the video below
- Still here? Ok then! 🙂
- Install docker
- Clone the repo
- Run these commands in the repo root folder:sudo docker-compose build # Skip sudo if running Windows sudo docker compose up # Skip sudo if running WindowsGo to http://localhost:8080 on your PC/Mac
- Pick a pipeline and send data
- Edit the pipeline
- Send data
- Rince, repeat
Version info
v1.0.0
- Docker containers no longer runs as root
- Vulnerability fix:https://github.com/epacke/logstash-pipeline-tester/releases/tag/v1.0.0
Video on how to get started:
https://youtu.be/Q3IQeXWoqLQ
Please note that I accidentally started the interface on port 3000 in the video while the shipped version uses port 8080. It took me roughly 5 hours and more retakes than I can count to make this video so that mistake will be preserved for the internet to laugh at. 🙂
The manual:
https://loadbalancing.se/2020/03/11/logstash-testing-tool/
Code Snippet Meta Information
- Version: Check GitHub
- Coding Language: NodeJS, Typescript + React
Full Code Snippet
Some updates:
- Fixed some vulnerabilities in some dependencies
- Added toggle for automatic minifying of JSON data
Just a reminder to keep the container updated. Most people probably run this on their machines but it's never a bad idea to keep it up to date.
I don't comment everytime I update the version on this particular project since there's way to many dependencies and there's a few updates each month.
Watch this page for updates or set your docker-compose to always pull latest:
https://github.com/epacke/logstash-pipeline-testerKind regards,
PatrikUpdated some dependencies. Pull the latest version from Github. 🙂
Kind regards,
PatrikRejoice! New security patches, time to rebuild the containers!
Kind regards,
PatrikWoop woop, MORE security patches done and removing some redundant packages.
Kind regards,
PatrikAnother bump, this time semver. Now it should be calm for a while.
Kind regards,
Patrikv1.0.4 released with a bunch of vulnerability patches:
https://github.com/epacke/logstash-pipeline-tester/releases/tag/v1.0.4
v1.0.5 released which fixes an issue for Windows users with default git client settings. Also patches a bunch of vulnerabilities.
v1.0.8 Bunch of security fixes. 🙌
Bumping Material packages and axios:
https://github.com/epacke/logstash-pipeline-tester/releases/tag/v1.0.9