Using Logstash HTTP_poller for NTLM authentication

So, currently I am trying to use the http_poller input plugin to send OData (JSON) to Kibana using Logstash. However, I keep running into problems trying to authenticate using NTLM. I was able to figure out that you can use the "auth" option and specify NTLM, but after getting here, I keep getting the error

HttpAuthenticator - NTLM authentication error: Credentials cannot be used for NTLM authentication: org.apache.http.auth.UsernamePasswordCredentials

input {
  http_poller {
    urls => {
      test1 => {
        method => get
        auth => NTLM
        user => "XXXX"
        password => "XXX"
        url => "XXXXXX"
        headers => {
          Accept => "application/json"
    schedule => {every => "60s"}
    request_timeout => 60
    codec => "json"

output {
  stdout {
    codec => rubydebug

Does anyone know what I am misunderstanding here to get it to work properly? Or is Http_Poller just not able to handle this and I need a different way? I have seen someone suggest to use Selenium to another person attempting NTLM, but I want to see if I can figure out a way that isn't more complicated.

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