Unexpected behaviour for exec input plugin

The curl command returns empty message.

input {
  exec {
    command => "curl -s -I <url>"
    interval => 30
  }
}
1 Like

Works for me exactly as above, which version and can you post your whole config?

  • Plugin version: v3.3.1

    input {

    exec {
      command => " curl -s -I <url>"
      interval => 30
      tags => ["solr"]
    }
    

    }

    filter {

    grok { match => { "curl -s -I %{HOSTNAME:instance} " } }
    

    }

    output {

    stdout {
      codec => rubydebug
    }
    

    }

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