My conf is
input {
tcp {
port => 10514
type=> "leo_ftp"
}
tcp {
port => 10515
type => "jim_ftp"
}
}
filter { }
output {
if[type]=="leo_ftp"{
elasticsearch {
hosts => ["ip:9200"]
index => "ftp_log_%{+YYYY.MM.dd}"
}
}
if[type]=="jim_ftp"{
elasticsearch {
hosts => ["ip:9200"]
index => "nas_ftp_log_%{+YYYY.MM.dd}"
}
}}
Both jim_ftp and Leo_ftp are ftp server.
I can only receive log from jim_ftp.
Does any method to check why can't receive log from leo_ftp?