Hello, I am trying to use the HTTP_Poller v5.0.1 to contact the CloudFlare API to pull some traffic and security logs. However, when calling the URI, Cloudflare API complains that the version of TLS I am using is only 1.0. Is there a way to force the poller to use TLS1.2?
Logstash Config
input {
http_poller {
urls => {
cf_waf_test => {
method => get
url => ####
headers => {
"Content-Type" => "application/json"
"X-Auth-Email" => "####"
"X-Auth-Key" => "####"
}
}
}
request_timeout => 60
schedule => { "every" => "5m" }
tags => ["Cloudflare-WAF-Logs"]
}
}
Error Message
Cloudflare does not support deprecated TLS versions for security reasons. Please upgrade your client to TLS 1.2 or greater. See https://blog.cloudflare.com/deprecating-old-tls-versions-on-cloudflare-dashboard-and-api/ for more details.