Send batch of multiline events to http output



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 {
format => "json"

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

(system) #2

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