Hello there,
I am using ELK 7.9.2 and I see following issue with elasticsearch and kibana.
**Elasticsearch**
[2020-12-09T15:13:39,596][WARN ][o.e.c.r.a.AllocationService] [master] [.kibana_1][0] marking unavailable shards as stale: [dGFQCi6tQRKTO2hQrQ6m9A]
[2020-12-09T15:13:40,516][WARN ][o.e.c.r.a.AllocationService] [master] [.kibana_task_manager_1][0] marking unavailable shards as stale: [LqPX3TXQTHeUwhc4eKs2pw]
[2020-12-09T15:13:40,516][WARN ][o.e.c.r.a.AllocationService] [master] [.apm-agent-configuration][0] marking unavailable shards as stale: [R_6uJBYeT1iLtP6SZ6_OLg]
[2020-12-09T15:18:14,562][INFO ][o.e.c.m.MetadataIndexTemplateService] [master] adding template [.management-beats] for index patterns [.management-beats]
[2020-12-09T15:18:20,053][INFO ][o.e.m.j.JvmGcMonitorService] [master] [gc][435] overhead, spent [303ms] collecting in the last [1s]
[2020-12-09T15:28:29,020][WARN ][o.e.c.s.MasterService ] [master] took [10.2m], which is over [10s], to compute cluster state update for [create-index-template [.management-beats], cause [api]]
[2020-12-09T15:28:29,140][WARN ][r.suppressed ] [master] path: /.apm-agent-configuration/_mapping, params: {index=.apm-agent-configuration}
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (put-mapping [.apm-agent-configuration/kCLeibGPTRq_6yq-MuUcuw]) within 30s
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$0(MasterService.java:143) [elasticsearch-7.9.2.jar:7.9.2]
at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$1(MasterService.java:142) [elasticsearch-7.9.2.jar:7.9.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:678) [elasticsearch-7.9.2.jar:7.9.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2020-12-09T15:28:29,116][WARN ][r.suppressed ] [master] path: /.apm-agent-configuration/_mapping, params: {index=.apm-agent-configuration}
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (put-mapping [.apm-agent-configuration/kCLeibGPTRq_6yq-MuUcuw]) within 30s
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$0(MasterService.java:143) [elasticsearch-7.9.2.jar:7.9.2]
at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$1(MasterService.java:142) [elasticsearch-7.9.2.jar:7.9.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:678) [elasticsearch-7.9.2.jar:7.9.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2020-12-09T15:28:29,088][WARN ][r.suppressed ] [master] path: /.apm-custom-link/_mapping, params: {index=.apm-custom-link}
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (put-mapping [.apm-custom-link/kgZfWqBCRMSIcy0o-apnjg]) within 30s
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$0(MasterService.java:143) [elasticsearch-7.9.2.jar:7.9.2]
at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$1(MasterService.java:142) [elasticsearch-7.9.2.jar:7.9.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:678) [elasticsearch-7.9.2.jar:7.9.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2020-12-09T15:28:29,181][WARN ][r.suppressed ] [master] path: /.apm-custom-link/_mapping, params: {index=.apm-custom-link}
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (put-mapping [.apm-custom-link/kgZfWqBCRMSIcy0o-apnjg]) within 30s
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$0(MasterService.java:143) [elasticsearch-7.9.2.jar:7.9.2]
at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
at org.elasticsearch.cluster.service.MasterService$Batcher.lambda$onTimeout$1(MasterService.java:142) [elasticsearch-7.9.2.jar:7.9.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:678) [elasticsearch-7.9.2.jar:7.9.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
**Kibana**
log [20:22:56.766] [error][plugins][taskManager][taskManager] Failed to poll for work: Error: Request Timeout after 30000ms
log [20:22:56.851] [warning][apm][plugins] Could not create index: '.apm-custom-link'. Retrying...
log [20:22:56.852] [warning][apm][plugins] { Error: Request Timeout after 30000ms
at C:\ELK7.9.2\kibana-7.9.2-windows-x86_64\node_modules\elasticsearch\src\lib\transport.js:397:9
at Timeout.<anonymous> (C:\ELK7.9.2\kibana-7.9.2-windows-x86_64\node_modules\elasticsearch\src\lib\transport.js:429:7)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
status: undefined,
displayName: 'RequestTimeout',
message: 'Request Timeout after 30000ms',
body: undefined,
attemptNumber: 1,
retriesLeft: 10 }
log [20:22:56.864] [warning][apm][plugins] Could not create index: '.apm-agent-configuration'. Retrying...
log [20:22:56.864] [warning][apm][plugins] { Error: Request Timeout after 30000ms
at C:\ELK7.9.2\kibana-7.9.2-windows-x86_64\node_modules\elasticsearch\src\lib\transport.js:397:9
at Timeout.<anonymous> (C:\ELK7.9.2\kibana-7.9.2-windows-x86_64\node_modules\elasticsearch\src\lib\transport.js:429:7)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
status: undefined,
displayName: 'RequestTimeout',
message: 'Request Timeout after 30000ms',
body: undefined,
attemptNumber: 1,
retriesLeft: 10 }
error [20:22:59.399] [warning][process] UnhandledPromiseRejectionWarning: Error: Request Timeout after 30000ms
at C:\ELK7.9.2\kibana-7.9.2-windows-x86_64\node_modules\elasticsearch\src\lib\transport.js:397:9
at Timeout.<anonymous> (C:\ELK7.9.2\kibana-7.9.2-windows-x86_64\node_modules\elasticsearch\src\lib\transport.js:429:7)
I am new to Elasticsearch and having problems understanding this issue. any help would be appreciated.
Thanks.