-
Notifications
You must be signed in to change notification settings - Fork 31
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
multiline (or another) should support header/footer delimited messages #2
Comments
I was thinking that we need to introduce a simple state machine that have two states pass-thru and accumulating. When the BEGIN pattern is seen it moves to the accumulating state and when the END pattern is seen, it moves to the pass-thru state. So a transition of If a second BEGIN pattern is seen before an END it would be ignored, as too a second END before a BEGIN.
For the existing behaviour:
As can be seen from the above there are small differences between the BEGIN END and existing behaviour. Therefore to look at the state machine generically:
If another BEGIN pattern is seen before an END it would be ignored. I have written a POC. I will discuss with the team. |
This will be supported in 5.0.0 by the use of Event Mills. At that time the Multiline codec will be redundant. |
Closing, this will not be implemented in this plugin. |
Migrated from: https://logstash.jira.com/browse/LOGSTASH-190
The text was updated successfully, but these errors were encountered: