How can I solve this problem?
Env
1. elsticsearch version : 7.8.1
2. cluster
1) master node 3EA
2) data Node : 7EA
ConfigFile : elasticsearch.yml
cluster.max_shards_per_node: 10000
Cluster setting
GET /_cluster/settings
{
"persistent": {
"cluster": {
"max_shards_per_node": "10000"
}
},
"transient": {
"cluster": {
"max_shards_per_node": "10000"
}
}
}
Error Message
[2021-09-15T10:46:16,486][WARN ][logstash.outputs.elasticsearch][main] [01a19182.........]Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"service_log_svc0000028-2021-09", :routing=>nil, :_type=>"_doc"}, #LogStash::Event:0x61706a33], :response=>{"index"=>{"_index"=>"service_log_svc0000028-2021-09", "_type"=>"_doc", "_id"=>nil, "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"Validation Failed: 1: this action would add [9] total shards, but this cluster currently has [2999]/[3000] maximum shards open;"}}}}