Logstash URL Login giving error

(sandeep pattem) #1


I am trying to pull in data from Dynatrace. But getting the XML data required Login.
I have the config file :
input {
http_poller { urls => {
test1 => { url =>
user => "xxx"
password => "xxx"
} request_timeout => 60
interval => 120
codec => "plain"
} } }
output { stdout {
codec => rubydebug
} }

We are getting unknown "user" and "pass

(Magnus B├Ąck) #2

Look at the documentation for your version of Logstash and you'll note that authentication is configured somewhat differently than you think: https://www.elastic.co/guide/en/logstash/5.2/plugins-inputs-http_poller.html

(You should also be able to upgrade the logstash-input-http_poller plugin and use the newer version where authentication works as you've currently configured it.)

(system) #3

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