ELK,萌萌哒

Kibana的Monitoring不进行数据的收集和监控了

Kibana | 作者 ZChao_smile | 发布于2019年05月21日 | 阅读数:10505

打印的日志信息如下:
 log   [03:08:47.043] [warning][kibana-monitoring][monitoring-ui] [export_exception] Exception when closing export bulk :: {"path":"/_xpack/monitoring/_bulk","query":{"system_id":"kibana","system_api_version":"6","interval":"10000ms"},"body":"{\"index\":{\"_type\":\"kibana_stats\"}}\n{\"kibana\":{\"uuid\":\"327c7896-5309-4f58-bfe5-bfeed40f6289\",\"name\":\"log-kibana\",\"index\":\".kibana\",\"host\":\"192.168.32.179\",\"transport_address\":\"192.168.32.179:5601\",\"version\":\"6.7.1\",\"snapshot\":false,\"status\":\"green\"},\"usage\":{\"kql\":{\"optInCount\":0,\"optOutCount\":0,\"defaultQueryLanguage\":\"default-lucene\"},\"localization\":{\"locale\":\"en\",\"integrities\":{},\"labelsCount\":0},\"index\":\".kibana\",\"dashboard\":{\"total\":0},\"visualization\":{\"total\":0},\"search\":{\"total\":0},\"index_pattern\":{\"total\":2},\"graph_workspace\":{\"total\":0},\"timelion_sheet\":{\"total\":0},\"spaces\":{\"available\":true,\"enabled\":true,\"count\":1},\"ml\":{\"file_data_visualizer\":{\"index_creation_count\":0}},\"apm\":{\"has_any_services\":false,\"services_per_agent\":{}},\"maps\":{\"mapsTotalCount\":0,\"timeCaptured\":\"2019-05-21T02:22:18.201Z\",\"attributesPerMap\":{\"dataSourcesCount\":{\"min\":0,\"max\":0,\"avg\":0},\"layersCount\":{\"min\":0,\"max\":0,\"avg\":0},\"layerTypesCount\":{},\"emsVectorLayersCount\":{}}},\"cloud\":{\"isCloudEnabled\":false},\"infraops\":{\"last_24_hours\":{\"hits\":{\"infraops_hosts\":0,\"infraops_docker\":0,\"infraops_kubernetes\":0,\"logs\":0}}},\"rollups\":{\"index_patterns\":{\"total\":0},\"saved_searches\":{\"total\":0},\"visualizations\":{\"total\":0,\"saved_searches\":{\"total\":0}}},\"upgrade-assistant-telemetry\":{\"ui_open\":{\"overview\":0,\"cluster\":0,\"indices\":0},\"ui_reindex\":{\"close\":0,\"open\":0,\"start\":0,\"stop\":0},\"features\":{\"deprecation_logging\":{\"enabled\":true}}},\"xpack\":{\"reporting\":{\"available\":true,\"enabled\":true,\"browser_type\":\"chromium\",\"_all\":0,\"csv\":{\"available\":true,\"total\":0},\"PNG\":{\"available\":false,\"total\":0},\"printable_pdf\":{\"available\":false,\"total\":0},\"status\":{},\"lastDay\":{\"_all\":0,\"csv\":{\"available\":true,\"total\":0},\"PNG\":{\"available\":false,\"total\":0},\"printable_pdf\":{\"available\":false,\"total\":0},\"status\":{}},\"last7Days\":{\"_all\":0,\"csv\":{\"available\":true,\"total\":0},\"PNG\":{\"available\":false,\"total\":0},\"printable_pdf\":{\"available\":false,\"total\":0},\"status\":{}}}}},\"concurrent_connections\":0,\"os\":{\"load\":{\"1m\":0.0078125,\"5m\":0.03564453125,\"15m\":0.04541015625},\"memory\":{\"total_in_bytes\":8203845632,\"free_in_bytes\":2344837120,\"used_in_bytes\":5859008512},\"uptime_in_millis\":4645000,\"platform\":\"linux\",\"platformRelease\":\"linux-3.10.0-229.el7.x86_64\",\"distro\":\"Centos\",\"distroRelease\":\"Centos-7.1.1503\"},\"process\":{\"event_loop_delay\":0.8645440004765987,\"memory\":{\"heap\":{\"total_in_bytes\":168050688,\"used_in_bytes\":148625984,\"size_limit\":1526909922},\"resident_set_size_in_bytes\":212717568},\"uptime_in_millis\":2798113},\"requests\":{\"disconnects\":0,\"total\":0},\"response_times\":{\"average\":0,\"max\":0},\"timestamp\":\"2019-05-21T03:08:46.561Z\"}\n","statusCode":500,"response":"{\"took\":12,\"ignored\":false,\"errors\":true,\"error\":{\"type\":\"export_exception\",\"reason\":\"Exception when closing export bulk\",\"caused_by\":{\"type\":\"export_exception\",\"reason\":\"failed to flush export bulks\",\"caused_by\":{\"type\":\"export_exception\",\"reason\":\"bulk [default_local] reports failures when exporting documents\",\"exceptions\":[{\"type\":\"export_exception\",\"reason\":\"java.lang.IllegalArgumentException: Rejecting mapping update to [.monitoring-kibana-6-2019.05.21] as the final mapping would have more than 1 type: [_doc, doc]\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"Rejecting mapping update to [.monitoring-kibana-6-2019.05.21] as the final mapping would have more than 1 type: [_doc, doc]\"}}]}}}}"}
    at respond (/home/es/kibana-6.7.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:308:15)
    at checkRespForFailure (/home/es/kibana-6.7.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:267:7)
    at HttpConnector.<anonymous> (/home/es/kibana-6.7.1-linux-x86_64/node_modules/elasticsearch/src/lib/connectors/http.js:166:7)
    at IncomingMessage.wrapper (/home/es/kibana-6.7.1-linux-x86_64/node_modules/elasticsearch/node_modules/lodash/lodash.js:4935:19)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1103:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  log   [03:08:47.043] [warning][kibana-monitoring][monitoring-ui] Unable to bulk upload the stats payload to the local cluster
也可以看附件的截图;

@)GCE}ZX(E`4D]7]R~DLA~X.png


111.png


es的数据在创建的时候没有使用type了
 
已邀请:

paypains

赞同来自: shwtz

[warning][kibana-monitoring][monitoring-ui] Unable to bulk upload the stats payload to the local cluster


我也有这句报错,我是仔细看日志,是因为我做了认证的同时顺便把ingest节点注释了。我的报错是集群最少需要一个ingest 节点,加了一个ingest节点再重启kibana就好了!

zqc0512 - andy zhou

赞同来自:

你修改过mapping template吧,把monitoring kibana 模板这玩意备份下 ,删除了 他应该会自己再生成一个的。type问题。

shwtz - 学物理想做演员的IT男

赞同来自:

还真是ingest node没有设置的原因,我加上ingest node就可以监控了。。。
 
 
也就是说监控数据需要走ingest node进入集群啊。。。

要回复问题请先登录注册