Help Center/ Cloud Search Service/ Troubleshooting/ Data Import and Export/ An Error Is Returned When Logstash Deployed on an ECS Pushes Data to CSS
Updated on 2025-10-11 GMT+08:00

An Error Is Returned When Logstash Deployed on an ECS Pushes Data to CSS

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 has not integrated the x-pack plugin. When you connect to 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 ilm_enabled => false for Elasticsearch in the output module of the Logstash configuration file.
  3. Push data to the Elasticsearch cluster again.