How to increase _cluster/settings/cluster.max_shards_per_node for AWS Elasticsearch Service

logstash 错误信息

onse=>{"index"=>{"_index"=>"ap2023-02-13", "_type"=>"_doc", "_id"=>"9whuSYYB4_K8123jxrfb", "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"Limit of total fields [1000] has been exceeded"}}}}

  

处理过程

增加

PUT /_cluster/settings
{
  "persistent" : {
      "cluster.max_shards_per_node": "2000"
  }
}

  

查看

GET /_cluster/settings
{
  
}

 

 

posted @ 2023-02-13 14:31  MR__Wang  阅读(25)  评论(0编辑  收藏  举报