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

Make it work with multiline codec #1

Closed
jordansissel opened this Issue Dec 17, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@jordansissel
Contributor

jordansissel commented Dec 17, 2014

Problem code:

@lumberjack.run do |l|
@codec.decode(l.delete("line")) do |event|
decorate(event)
l.each { |k,v| event[k] = v; v.force_encoding(Encoding::UTF_8) }
output_queue << event
end
end

The lumberjack input cannot currently be used with the multiline codec due to the fact that the codec is shared across all lumberjack streams. This causes weird and confusing behavior that events from unrelated log streams are merged into a single event.

@jordansissel jordansissel added this to the 1.5.0 milestone Dec 17, 2014

@suyograo suyograo added the bug label Feb 6, 2015

@purbon

This comment has been minimized.

Show comment
Hide comment
@purbon

purbon Feb 9, 2015

Contributor

working on this.

Contributor

purbon commented Feb 9, 2015

working on this.

@suyograo

This comment has been minimized.

Show comment
Hide comment
@suyograo

suyograo Mar 3, 2015

Contributor

#5

Contributor

suyograo commented Mar 3, 2015

#5

@suyograo suyograo closed this Mar 3, 2015

jsvd pushed a commit to jsvd/logstash-input-lumberjack that referenced this issue Aug 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment