The curl command returns empty message.
input {
exec {
command => "curl -s -I <url>"
interval => 30
}
}
The curl command returns empty message.
input {
exec {
command => "curl -s -I <url>"
interval => 30
}
}
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.