tsaikd / gogstash

Logstash like, written in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codec support

jetgeng opened this issue · comments

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

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

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!

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.

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

@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?

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