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
A LOT of vulnerability patches. Tested and released v1.0.12.
A whole bunch of dependencies updated:
https://github.com/epacke/logstash-pipeline-tester/releases/tag/v1.0.14
v1.0.18 released with minor patches. 🙌