Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meabed/logstash-testing-e2e

Easy Logstash testing ē2ē
https://github.com/meabed/logstash-testing-e2e

e2e-tests golang logstash logstash-filter logstash-go logstash-input logstash-output logstash-testing testing

Last synced: 9 days ago
JSON representation

Easy Logstash testing ē2ē

Awesome Lists containing this project

README

        

## Logstash playground and e2e UI

[![GitHub](https://img.shields.io/github/license/meabed/logstash-testing-e2e.svg?style=flat-square)](LICENSE.md)
[![Twitter URL](https://img.shields.io/twitter/url/meabed/logstash-testing-e2e.svg?style=flat-square)](https://twitter.com/share?url=https://meabed.com/blog/mastering-logstash-with-e2e-testing&text=Mastering%20Logstash%20with%20e2e%20testing%20@elastic%20@logstash)
[![Blog URL](https://img.shields.io/badge/blog-post-green.svg?style=flat-square)](https://meabed.com/blog/mastering-logstash-with-e2e-testing)

#### Why UI?
Testing Logstash real configuration input, output, codecs and filters is a extremely tedious process results in logstash configurations that are not tested properly and it break very often.

#### GO + Socket.IO + NG + Logstash FTW!

Logstash_Testing

#### Architecture
##### Logstash architecture in production

Logstash_Testing

##### Logstash architecture in this example

Logstash_Testing

### Getting started
```bash
# Clone the github repo
$ git clone --depth 1 --branch master https://github.com/meabed/logstash-testing-e2e.git

# run docker-compose
$ docker-compose up

# Wait fot logstash to start
# Open your web page localhost:9001

# if you are using mac you open the docker machine ip
$ docker-machine ip default # 192.168.64.6:9001
```

### Screens

Logstash_Testing

#### Docker-compose


Logstash_Testing

## Features
- Online UI For e2e logstash testing
- Realtime Logstash parsing of logs
- Examples of logs of different services
- and more...

## TODO LIST
- [ ] Screenshots
- [ ] Video Tutorial
- [ ] Examples " Mongo / Redis / Nginx / Apache / Log4j / JSON / Multiline / etc... "
- [ ] UI Enhancements
- [ ] UI Start / Stop / Reload logstash
- [ ] UI Logstash error viewer from log path
- [ ] More documentation about using logstash
- [ ] Deploy on public test server
- [ ] Online editing of logstash configurations
- [ ] Contributors list

## Contributing

Anyone is welcome to [contribute](CONTRIBUTING.md), however, if you decide to get involved, please take a moment to review the guidelines:

* [Only one feature or change per pull request](CONTRIBUTING.md#only-one-feature-or-change-per-pull-request)
* [Write meaningful commit messages](CONTRIBUTING.md#write-meaningful-commit-messages)
* [Follow the existing coding standards](CONTRIBUTING.md#follow-the-existing-coding-standards)

## License

The code is available under the [MIT license](LICENSE.md).