License problem foe xpack for logstash-6.2.2

Once I start logstash, the error is as follows:
Elasticsearch at URL 'http://localhost:9200/_xpack'
[2018-03-19T04:33:00,946][ERROR][logstash.licensechecker.licensemanager] Unable to retrieve license information from license server {:message=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/_xpack'", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError"}
[2018-03-19T04:33:00,950][WARN ][logstash.licensechecker.xpackinfo] Nil response from License Server
[2018-03-19T04:33:00,978][INFO ][logstash.pipeline ] Pipeline started {""=>".monitoring-logstash"}
[2018-03-19T04:33:01,101][INFO ][logstash.agent ] Pipelines running {:count=>1, :pipelines=>[".monitoring-logstash"]}
[2018-03-19T04:33:01,104][ERROR][logstash.inputs.metrics ] Monitoring is not available: License information is currently unavailable. Please make sure you have added your production elasticsearch connection info in the xpack.monitoring.elasticsearch settings.
[2018-03-19T04:33:02,044][INFO ][logstash.pipeline ] Pipeline terminated {""=>".monitoring-logstash"}

Have you configured username and password for your local ES instance in logstash.yml?

Yes I have!

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