Hello,
I installed the Elastic stack with 'basic' license on Docker 4 days ago. I initialized the built-in users passwords and created a user for accessing the Kibana web UI and another user for storing into Elasticsearch the data coming to Logstash from Filebeat. Filebeat is installed on another server and sends log data to Logstash. This configuration worked well the days before and I got Filebeat dashboards into Kibana.
However, now when I log in into Kibana, I cannot access any dashboard. Kibana logs display the following error message
{"type":"error","@timestamp":"2019-08-26T09:34:15Z","tags":["warning","process"],"pid":1,"level":"error","error":{"message":"TypeError: Cannot read property 'formatForBulkUpload' of undefined\n at rawData.reduce (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:201:57)\n at Array.reduce (<anonymous>)\n at BulkUploader.reduce [as toBulkUploadFormat] (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:200:33)\n at BulkUploader.toBulkUploadFormat [as _fetchAndUpload] (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:136:26)","name":"UnhandledPromiseRejectionWarning","stack":"UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'formatForBulkUpload' of undefined\n at rawData.reduce (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:201:57)\n at Array.reduce (<anonymous>)\n at BulkUploader.reduce [as toBulkUploadFormat] (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:200:33)\n at BulkUploader.toBulkUploadFormat [as _fetchAndUpload] (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:136:26)\n at emitWarning (internal/process/promises.js:81:15)\n at emitPromiseRejectionWarnings (internal/process/promises.js:120:9)\n at process._tickCallback (internal/process/next_tick.js:69:34)"},"message":"TypeError: Cannot read property 'formatForBulkUpload' of undefined\n at rawData.reduce (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:201:57)\n at Array.reduce (<anonymous>)\n at BulkUploader.reduce [as toBulkUploadFormat] (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:200:33)\n at BulkUploader.toBulkUploadFormat [as _fetchAndUpload] (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:136:26)"}
{"type":"error","@timestamp":"2019-08-26T09:34:15Z","tags":["warning","process"],"pid":1,"level":"error","error":{"message":"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1234)","name":"UnhandledPromiseRejectionWarning","stack":"TypeError: Cannot read property 'formatForBulkUpload' of undefined\n at rawData.reduce (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:201:57)\n at Array.reduce (<anonymous>)\n at BulkUploader.reduce [as toBulkUploadFormat] (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:200:33)\n at BulkUploader.toBulkUploadFormat [as _fetchAndUpload] (/usr/share/kibana/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js:136:26)"},"message":"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1234)"}
When looking at Logstash logs, I got the following error message
[2019-08-26T09:07:10,513][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"Got response code '429' contacting Elasticsearch at URL 'http://elasticsearch:9200/_xpack'"}
[2019-08-26T09:10:10,513][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"Got response code '429' contacting Elasticsearch at URL 'http://elasticsearch:9200/_xpack'"}
And when taking a look at Elasticsearch logs, I get the following message
{"type": "server", "timestamp": "2019-08-26T09:37:15,942+0000", "level": "WARN", "component": "o.e.m.j.JvmGcMonitorService", "cluster.name": "mg-elasticsearch", "node.name": "ff7e8a22a1da", "cluster.uuid": "zWPcD53DQ2qZGDOzJnl0Qg", "node.id": "iGVBXdheTXC9wLsS6YXVZg", "message": "[gc][405538] overhead, spent [705ms] collecting in the last [1s]" }
{"type": "server", "timestamp": "2019-08-26T09:37:19,489+0000", "level": "WARN", "component": "o.e.m.j.JvmGcMonitorService", "cluster.name": "mg-elasticsearch", "node.name": "ff7e8a22a1da", "cluster.uuid": "zWPcD53DQ2qZGDOzJnl0Qg", "node.id": "iGVBXdheTXC9wLsS6YXVZg", "message": "[gc][405541] overhead, spent [1.4s] collecting in the last [1.5s]" }
Do you know how this problem can be solved ?
Thank you in advance