Hello,
The following logstash conf file should send back the content of a sftp server. But I get an empty message in the created index.
When my command is "DIR C:/Logs", I can get some informations in the message. Is there something wrong with this command ?
input {
exec {
command => "curl -k -v sftp://user:password@host.fr"
interval => 30000
}
}
output {
elasticsearch {
hosts => "localhost:9200"
index => "test_exec"
}
stdout {
codec => dots
}
}
Regards,
Nicolas