Skip to content

gundas/logstash-forwarder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The purpose of this fork

The original logstash-forwarder seems to be broken on Windows platform:

  • it locks the log files, so they cannot be renamed by Log4j rolling appender
  • it does not detect file truncation very well

Driskell did a very nice job fixing all the issues on Windows on his fork, however his fixes were not merged into the Elastic Search logstash-forwarder (I don't know why). Driskell has abandoned his work on logstash-forwarder and started developing new Log Courier.

I've made this fork because I wanted to use the Driskell's version of logstash-forwarder, since it fixes Windows issues and has a functional multiline codec (the multiline codec in Logstash is still problematic, because it waits for the next line to decide if the event has finished or not). However, Driskell version of the logstash-forwared had a few problems which needed to be fixed:

  • compilation on Windows was broken
  • there was a bug in configuration file parsing when multiple file elements were provided

In my fork those issues are fixes.

There is still one more issue left which I did not track down yet - sometimes, when there are a lot of events coming and logstash-forwared looses connection to the logstash server it tries and fails to reconnect indefinitely. Restart of the service is required to recover.

Packages

No packages published

Languages

  • Go 59.4%
  • Ruby 38.2%
  • CoffeeScript 1.4%
  • Shell 1.0%