The output cann't be seen in real time


(Chris Chen) #1

Hi everyone, I am a fresh to Logstash, Now i have a issue as following:
I want to send data from one logstash on A machine to other logstash on B machine.
the configuration file:
B machine:
input {
tcp{
port => 50000
}
}
filter {
}
output {
stdout {
}
file {
path => "./logstash_out.txt"
}
}

A machine:
input {
stdin{}
}
filter {
}
output {
tcp {
host => "10.11.48.12"
port => 50000
mode => "client"
}
}
The problem is: The result on B machine only display when the logstash process stopped manually, I think the message from A machine should be display by stdout in real-time.

thx.


(system) #2

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