Hi All,
I have version of logstash 5.1.1 and it seems that when my application is down, http output does not retry to push the failed messages.
According to my understanding of :
Logstash input should stop feeding messages to the pipeline as soon as pipeline is full. In my case this does not happen and logstash simply ignores that http output is failing and file input keeps feeding messages.
my configuration is as follows:
input {
file{
path => "/home/intis/Documents/txt/*.txt"
start_position => "beginning"
max_open_files => "300"
close_older => "0.2"
type => "logs"
sincedb_path => "/dev/null"
codec => plain{ charset => 'UTF-8' }
}
output {
http {
http_method => post
url => "http://localhost:8080/test/txtFiles"
pool_max_per_route=>1
pool_max=>1
automatic_retries=>5
#keepalive=>false
#retry_failed=>true
}
stdout { codec => rubydebug }
}
Thanks in advance,
giannis