Why can't receive log from the ftp server?

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?

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