Logstash auth problem

Hello,

When I set logstash config with params:

auth => {
user => "user"
password => "password"
}

It doesn't work. I receive "Bad credential error". The same user and password in curl works. Someone had the same issue?

Please give more context. Where are you inserting these lines of configuration?