2016-11-25 156 views
1

Kibana無法啓動時進行初始化,它顯示了誤導性異常「碎片故障」沒有任何細節:kibana無法發現 - (碎片故障)/錯誤:indexPattern.fields未定義

kibana

但在瀏覽器控制檯挖時,以下日誌已被寫入:

"INFO: 2016-11-25T13:41:59Z 
    Adding connection to https://monitoring.corp.com/elk-kibana/elasticsearch 

" kibana.bundle.js:63741:6 
config initcommons.bundle.js:62929 
complete in 459.08ms commons.bundle.js:62925:12 
loading default index patterncommons.bundle.js:62929 
Index Patterns: index pattern set to logstash-* commons.bundle.js:8926:17 
complete in 125.70ms commons.bundle.js:62925:12 

Error: indexPattern.fields is undefined 
[email protected]://monitoring.corp.com/elk-kibana/bundles/kibana.bundle.js?v=9732:85441:8 
[email protected]://monitoring.corp.com/elk-kibana/bundles/kibana.bundle.js?v=9732:85448:47 
__WEBPACK_AMD_DEFINE_RESULT__</[email protected]://monitoring.corp.com/elk-kibana/bundles/kibana.bundle.js?v=9732:85463:15 
[email protected]://monitoring.corp.com/elk-kibana/bundles/kibana.bundle.js?v=9732:85015:16 
__WEBPACK_AMD_DEFINE_RESULT__</<@https://monitoring.corp.com/elk-kibana/bundles/kibana.bundle.js?v=9732:85009:47 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:31569:15 
$ControllerProvider/this.$get</</instantiate<@https://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:36227:25 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:35339:37 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:34771:14 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:34646:31 
ngViewFillContentFactory/<[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:57515:8 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:35880:10 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:35380:12 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:34771:14 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:34646:31 
createBoundTranscludeFn/[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:34790:17 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:35407:19 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:57465:26 
$RootScopeProvider/this.$get</[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:43402:16 
commitRoute/<@https://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:57149:16 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:41836:29 
scheduleProcessQueue/<@https://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:41852:28 
$RootScopeProvider/this.$get</[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:43080:17 
$RootScopeProvider/this.$get</[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:42891:16 
$RootScopeProvider/this.$get</[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:43188:14 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:37637:37 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:37835:8 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:37776:10 
<div class="application ng-scope" ng-class="'tab-' + chrome.getActiveTabId('-none-') + ' ' + chrome.getApplicationClasses()" ng-view="" ng-controller="chrome.$$rootControllerConstruct as kibana"> commons.bundle.js:39568:19 

Error: Request to Elasticsearch failed: "Bad Request" 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:62016:21 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:62049:6 
__WEBPACK_AMD_DEFINE_RESULT__</</</<@https://monitoring.corp.com/elk-kibana/bundles/kibana.bundle.js?v=9732:88628:16 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:41836:29 
scheduleProcessQueue/<@https://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:41852:28 
$RootScopeProvider/this.$get</[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:43080:17 
$RootScopeProvider/this.$get</[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:42891:16 
$RootScopeProvider/this.$get</[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:43188:14 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:37637:37 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:37835:8 
[email protected]://monitoring.corp.com/elk-kibana/bundles/commons.bundle.js?v=9732:37776:10 
    commons.bundle.js:39568:19 

我知道了https://github.com/elastic/kibana/issues/6460問題的,但我們沒有這是太大的實體的任何跡象。

我也重新創建了indexpattern,沒有運氣(刪除和創建)。但是,當進入顯示字段的「設置」>「索引模式」,然後回去發現時,kibana似乎再次工作(直到下次瀏覽器刷新)。任何想法如何解決kibana?

  • Kibana版本:4.4.2
  • Elasticsearch版本:2.2.0

回答

0

增加在kibana.yml文件server.maxPayloadBytes屬性,以一個適當的大小解決了問題。

+0

嗨!你會如此友善地分享你提到的_appropiate size_我已經嘗試了100MB,錯誤依然存在。我想我太過分了。提前致謝。 – coya

+1

我們當前的設置使用'server.maxPayloadBytes:4194304' – Dag