Skip to content

Multiline events from a file using Vector FILE source #8603

Answered by spencergilbert
atibdialpad asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Does this introduce a ( significant ) performance hit with having to check start and condition pattern on every line even before the event goes to the transform stage (which btw has its own GROKing)

I don't think we have specific benchmarks comparing the multiline feature in the file source to not enabling it, but it's currently faster than the reduce transformation.

  1. Is their any better way to capture such multi-line events.

It seems like your start_pattern could just be .*, and with your current mode of halt_before you should continue to aggregate multiple lines (up until it sees the date lines).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by atibdialpad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants