agolo / logstash-test-runner

Logstash configuration testing framework
https://blog.agolo.com/the-easy-way-to-test-your-logstash-configuration-3f80eb5ffd59
MIT License
103 stars 24 forks source link

Support for input from sources other than files #11

Open maxwellhaydn opened 5 years ago

maxwellhaydn commented 5 years ago

It would be great if this project supported input from sources other than files. For example, we use the JDBC and JDBC static plugins to load data from relational databases into Elasticsearch. We want to write tests that check all aspects of our pipeline config, including:

agolomoodysaada commented 5 years ago

That sounds awesome. This can probably be handled with stdin. We already pass the input logs via stdin here https://github.com/agolo/logstash-test-runner/blob/master/test.sh#L73

PRs are welcome to allow configurable input streams