gogstash icon indicating copy to clipboard operation
gogstash copied to clipboard

codec support

Open jetgeng opened this issue 7 years ago • 6 comments

Is there any support for codec plugin? Or is there any plan?

jetgeng avatar Mar 21 '17 07:03 jetgeng

Which codec do you need? It's better to say the whole story.

tsaikd avatar Mar 21 '17 10:03 tsaikd

There is a codec system in logstash. We can use codec to changes the data representation, and we can put codec in input, filter and output. I think it's very useful, and i did't find this in gogstash. So i hope gogstash can support it!

jetgeng avatar Mar 22 '17 03:03 jetgeng

It's hard to implement all features in logstash, because it's a side project for me. But if you want, PR is welcomed. I didn't use codec in logstash. My use case is very simple: read nginx log and write to elastic, etc. You can show your use case for discussing.

tsaikd avatar Mar 22 '17 05:03 tsaikd

I’ll try to give it a go to add base support for codecs, but doubtfully will implement all the ones Logstash offers.

aantono avatar Jan 30 '18 03:01 aantono

@jetgeng I'm working on adding the foundation for Codecs, do you have any particular codecs in mind that you wanted to see be implemented?

aantono avatar Feb 07 '18 04:02 aantono

The multiline codec would be useful to properly implement multiple line Java stack trace parsing.

jbuchbinder avatar Oct 08 '18 20:10 jbuchbinder