Logstash to Elasticsearch error


(Vinay) #1

Hi,

I am new to ELK and facing an initial hurdle.
Could someone please help me with the error: error=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/'"}

My logstash config is as below:

input {
beats {
port => "5043"
}
}
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}"}
}
geoip {
source => "clientip"
}
}
output {
elasticsearch {
hosts => [ "localhost:9200" ]
user => logstash_internal
password => changeme
}
}


(system) #2

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