Send batch of multiline events to http output

Hi,

I am new to Logstash world. Can some one help me how to write conf for below scenario.

I have data collected from tcp and I output to http. Like below

input {
tcp {
port =>8777
codec => multiline {
pattern =>"([1])"
negate =>"false"
what =>"previous"
}
}
}
output {
http {
url=>"http://xyz.com/service1"
proxy=>"host:port"
http_method=>"post"
format => "json"
}
}

How do I modify this config to collect 5secs data from tcp port and output to http.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.