Getting http_request_failure error

I am trying to get status of the url but i am getting
{
"@version" => "1",
"@timestamp" => "2017-01-10T10:19:47.157Z",
"http_poller_metadata" => {
"name" => "Server1",
"host" => "localhost",
"request" => {
"method" => "get",
"url" => "someUrl"
},
"runtime_seconds" => nil
},
"tags" => [
[0] "_http_request_failure"
],
"http_request_failure" => {
"request" => {
"method" => "get",
"url" => "Someurl"
},
"name" => "Server1",
"error" => "connect timed out",
"backtrace" => nil,
"runtime_seconds" => 10.017
}
}

Input File :
input {
http_poller {
urls => {
Server1 => "someURL"
}
request_timeout => 90
interval => 80
#connect_timeout => 30
automatic_retries => 2
ssl_certificate_validation => false
codec => "json"
metadata_target => "http_poller_metadata"
tags => website_healthcheck
}
}
filter{
}
output {
stdout{
codec => rubydebug
}
}

That looks like the problem.

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