Empty message after curl input exec command


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




1 Like

Same problem. Empty output from a CURL exec command

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