1. NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{WuthxY32RuC4MQHLI99mgQ}{public-elk-1}{10.4.2.165:9300}]]
    2. at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:344)
    3. at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:242)
    4. at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)
    5. at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:366)
    6. at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:404)
    7. at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80)
    8. at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54)
    9. at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:62)
    10. at com.aaaaa.log.es.QpsESWriteService.lambda$new$0(QpsESWriteService.java:64)
    11. public-elk-1 域名解析的IP10.4.2.165对应不上
    1. [0]: index [fullinfo_action-service-task-saas_2021_02_01], type [_doc], id [C0A854C200004CCABBAA02F029A75ACD], message [ElasticsearchException[Elasticsearch exception [type=validation_exception, reason=Validation Failed: 1: this action would add [16] total shards, but this cluster currently has [2998]/[3000] maximum shards open;]]]
    2. template对的索引从默认的16个修改为4个,将最大的3000修改为30000即可