Help Center/ Cloud Search Service/ Troubleshooting/ Data Import and Export/ Why Is an Error Reported When Data Is Pushed to CSS After Logstash Is Deployed on an ECS?
Updated on 2024-11-20 GMT+08:00

Why Is an Error Reported When Data Is Pushed to CSS After Logstash Is Deployed on an ECS?

Symptom

After Logstash is deployed on an ECS, an error is reported when data is pushed to CSS. The error message is as follows:

LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError: Got response code '500' contacting Elasticsearch at URL 'https://192.168.xx.xx:9200/_xpack'.

Possible Causes

CSS currently does not integrate the x-pack plugin. When you access CSS after deploying Logstash, the system will check whether x-pack is enabled for CSS.

Procedure

  1. Delete the x-pack directory in Logstash.
  2. Add the configuration item ilm_enabled => false to elasticsearch under the output tag in the Logstash configuration file.
  3. Push data to CSS again.