Skip to content
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 parser with tail not working as per the example #9308

Open
rpzdev011 opened this issue Aug 30, 2024 · 0 comments
Open

Multiline parser with tail not working as per the example #9308

rpzdev011 opened this issue Aug 30, 2024 · 0 comments

Comments

@rpzdev011
Copy link

Bug Report

Description
Multiline parser with tail not working as per the example, output looks incorrect.

To Reproduce

single line...
Dec 14 06:41:08 Exception in thread "main" java.lang.RuntimeException: Something has gone wrong, aborting!
another line...
  • Steps to reproduce the problem:
    Using multiline parser example here

Expected behavior
the "single line..." & "another line..." part must be filtered out leaving only the matching line "Dec 14 06:41:08 Exception in thread "main" java.lang.RuntimeException: Something has gone wrong, aborting!" and producing log output:

[1] tail.0: [1669160706.737657687, {"date"=>"Dec 14 06:41:08", "message"=>"Exception in thread "main" java.lang.RuntimeException: Something has gone wrong, aborting!

however the example is showing "single line..." & "another line..." included in the log output.

Your Environment

  • Version used: 3.1
  • Configuration: as per here
  • Filters and plugins: Multiline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant