I have two conf file in /etc/logstash/conf.d/.
One is named "nas_ftp.conf" and include below setting:```
input {
tcp {
port => 10515
}
}
filter { }
output {
elasticsearch {
hosts => ["IP:9200"]
index => "nas_ftp_log_%{+YYYY.MM.dd}"
}
}
and the other one is named "ftp_log.conf" and include :
input {
tcp {
port => 10514
}
}
filter { }
output {
elasticsearch {
hosts => ["IP:9200"]
index => "ftp_log_%{+YYYY.MM.dd}"
}
}
Why I collect the same log in differents index and ports?