My config is something like,
host => "nodename"
port => 514
type => "syslog"
path => "/tmp/logstash/output.log"
Log source for this logstash is coming from Syslog server over tcp port 514(will be changed to udp whenever needed).
I observed one more weird thing here- when using tcp input plugin, it's able to write to file but not sending anything over http output plugin.
When tcp input plugin is replaced by udp input plugin, output is being written to both file and over http output plugin.
Please let me know if something is not clear.