-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testing aggregates => LogStash::ConfigurationError: Aggregate plugin: more than one filter which defines timeout options. But only defining once. #119
Comments
I set workers to 1 in a configuration and enabled debugging and still hung up on this. Not sure about the scripting support message. Still failing due to the aggregate ConfigurationError.
|
Another set of reproduction steps given here: cameronkerrnz/logstash-plugin-dev#5 (comment) |
Assuming is unrelated to my issue. |
I'm trying to test my logstash configurations that use the aggregate plugin. I have not had any issues running them locally against the binary as I write them. But now I want to test the behavior expectations of the aggregations. Then I found a blog post and docker container that utilize rspec to test the filters. However I was trying to write a test to check the value of eventId and this ConfigurationError pops up. I'm surprised because it seems to me I'm only defining the timeout option in one aggregate block. But perhaps I'm doing something terribly wrong.
filter.conf
test_spec.rb
error message and test failure
tc.log
To reproduce launch this docker container and follow instructions to volume mount the filter, spec, and tc.log so the text executes. https://github.com/iteratec/logstash-rspec
docker command, populate paths.
The text was updated successfully, but these errors were encountered: