服务器尚未启动(Kibana 8.1.2)
我是学习logstash的新手。所以我首先要开始基巴纳。然后logstash。然后我写的一个Springboot应用程序。
因此,在kibana.yaml文件中,我只有两个条目:
server.port: 5601
elasticsearch.hosts: ["http://my_local_hostname:9200"]
当我运行kibana.bat
时,我在控制台中看到这些条目:
C:\kibana-8.1.2\bin>kibana.bat
[2022-04-18T18:06:38.673+05:30][INFO ][plugins-service] Plugin "metricsEntities" is disabled.
[2022-04-18T18:06:38.742+05:30][INFO ][http.server.Preboot] http server running at http://localhost:5601
[2022-04-18T18:06:38.775+05:30][INFO ][plugins-system.preboot] Setting up [1] plugins: [interactiveSetup]
[2022-04-18T18:06:38.806+05:30][WARN ][config.deprecation] The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set "xpack.reporting.roles.enabled" to "false" to adopt the future behavior before upgrading.
[2022-04-18T18:06:38.950+05:30][INFO ][plugins-system.standard] Setting up [112] plugins: [translations,licensing,globalSearch,globalSearchProviders,features,mapsEms,licenseApiGuard,usageCollection,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,sharedUX,share,embeddable,uiActionsEnhanced,screenshotMode,screenshotting,banners,telemetry,newsfeed,fieldFormats,expressions,dataViews,charts,esUiShared,bfetch,data,savedObjects,presentationUtil,expressionShape,expressionRevealImage,expressionRepeatImage,expressionMetric,expressionImage,customIntegrations,home,searchprofiler,painlessLab,grokdebugger,management,watcher,licenseManagement,advancedSettings,spaces,security,savedObjectsTagging,reporting,lists,fileUpload,ingestPipelines,encryptedSavedObjects,dataEnhanced,cloud,snapshotRestore,eventLog,actions,alerting,triggersActionsUi,transform,stackAlerts,ruleRegistry,savedObjectsManagement,console,controls,graph,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,visualizations,canvas,visTypeXy,visTypeVislib,visTypeVega,visTypeTimeseries,rollup,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypeMetric,visTypeHeatmap,visTypeMarkdown,dashboard,maps,dashboardEnhanced,expressionTagcloud,expressionPie,visTypePie,expressionMetricVis,expressionHeatmap,expressionGauge,dataViewFieldEditor,lens,cases,timelines,discover,osquery,observability,discoverEnhanced,dataVisualizer,ml,uptime,securitySolution,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,dataViewManagement]
[2022-04-18T18:06:38.967+05:30][INFO ][plugins.taskManager] TaskManager is identified by the Kibana UUID: e299f8d2-8da2-4387-8572-2485272aab82
[2022-04-18T18:06:39.094+05:30][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.095+05:30][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2022-04-18T18:06:39.111+05:30][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.112+05:30][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2022-04-18T18:06:39.125+05:30][WARN ][plugins.reporting.config] Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.136+05:30][WARN ][plugins.encryptedSavedObjects] Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.149+05:30][WARN ][plugins.actions] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.161+05:30][WARN ][plugins.alerting] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.177+05:30][INFO ][plugins.ruleRegistry] Installing common resources shared between all indices
[2022-04-18T18:06:39.791+05:30][INFO ][plugins.screenshotting.config] Chromium sandbox provides an additional layer of protection, and is supported for Win32 OS. Automatically enabling Chromium sandbox.
[2022-04-18T18:06:41.151+05:30][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect EACCES 192.168.1.19:9200
[2022-04-18T18:06:41.329+05:30][INFO ][plugins.screenshotting.chromium] Browser executable: C:\kibana-8.1.2\x-pack\plugins\screenshotting\chromium\chrome-win\chrome.exe
控制台条目看起来不错。尽管我还不了解很多条目。
但是,当我在浏览器上输入http:// localhost:5601/
时,我会获取网页:
Kibana服务器尚未准备就绪。
但是过了一会儿,我确实在控制台中看到了这个弹出:
[2022-04-18T18:26:39.188+05:30][ERROR][plugins.ruleRegistry] Error: Timeout: it took more than 1200000ms
at Timeout._onTimeout (C:\kibana-8.1.2\x-pack\plugins\rule_registry\server\rule_data_plugin_service\resource_installer.js:54:20)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
[2022-04-18T18:26:39.195+05:30][ERROR][plugins.ruleRegistry] Error: Failure installing common resources shared between all indices. Timeout: it took more than 1200000ms
at ResourceInstaller.installWithTimeout (C:\kibana-8.1.2\x-pack\plugins\rule_registry\server\rule_data_plugin_service\resource_installer.js:63:13)
at ResourceInstaller.installCommonResources (C:\kibana-8.1.2\x-pack\plugins\rule_registry\server\rule_data_plugin_service\resource_installer.js:77:5)
您能告诉我这里出了什么问题吗?我看到这是一个普遍的问题。但是我尝试了许多提供的解决方案,但是什么都没有。
I am new to learning LogStash. So I am starting Kibana first. Then LogStash. Then a SpringBoot application that I wrote.
So in the kibana.yaml file, I only have two entries:
server.port: 5601
elasticsearch.hosts: ["http://my_local_hostname:9200"]
When I run kibana.bat
, I see these entries in the console:
C:\kibana-8.1.2\bin>kibana.bat
[2022-04-18T18:06:38.673+05:30][INFO ][plugins-service] Plugin "metricsEntities" is disabled.
[2022-04-18T18:06:38.742+05:30][INFO ][http.server.Preboot] http server running at http://localhost:5601
[2022-04-18T18:06:38.775+05:30][INFO ][plugins-system.preboot] Setting up [1] plugins: [interactiveSetup]
[2022-04-18T18:06:38.806+05:30][WARN ][config.deprecation] The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set "xpack.reporting.roles.enabled" to "false" to adopt the future behavior before upgrading.
[2022-04-18T18:06:38.950+05:30][INFO ][plugins-system.standard] Setting up [112] plugins: [translations,licensing,globalSearch,globalSearchProviders,features,mapsEms,licenseApiGuard,usageCollection,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,sharedUX,share,embeddable,uiActionsEnhanced,screenshotMode,screenshotting,banners,telemetry,newsfeed,fieldFormats,expressions,dataViews,charts,esUiShared,bfetch,data,savedObjects,presentationUtil,expressionShape,expressionRevealImage,expressionRepeatImage,expressionMetric,expressionImage,customIntegrations,home,searchprofiler,painlessLab,grokdebugger,management,watcher,licenseManagement,advancedSettings,spaces,security,savedObjectsTagging,reporting,lists,fileUpload,ingestPipelines,encryptedSavedObjects,dataEnhanced,cloud,snapshotRestore,eventLog,actions,alerting,triggersActionsUi,transform,stackAlerts,ruleRegistry,savedObjectsManagement,console,controls,graph,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,visualizations,canvas,visTypeXy,visTypeVislib,visTypeVega,visTypeTimeseries,rollup,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypeMetric,visTypeHeatmap,visTypeMarkdown,dashboard,maps,dashboardEnhanced,expressionTagcloud,expressionPie,visTypePie,expressionMetricVis,expressionHeatmap,expressionGauge,dataViewFieldEditor,lens,cases,timelines,discover,osquery,observability,discoverEnhanced,dataVisualizer,ml,uptime,securitySolution,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,dataViewManagement]
[2022-04-18T18:06:38.967+05:30][INFO ][plugins.taskManager] TaskManager is identified by the Kibana UUID: e299f8d2-8da2-4387-8572-2485272aab82
[2022-04-18T18:06:39.094+05:30][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.095+05:30][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2022-04-18T18:06:39.111+05:30][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.112+05:30][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2022-04-18T18:06:39.125+05:30][WARN ][plugins.reporting.config] Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.136+05:30][WARN ][plugins.encryptedSavedObjects] Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.149+05:30][WARN ][plugins.actions] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.161+05:30][WARN ][plugins.alerting] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2022-04-18T18:06:39.177+05:30][INFO ][plugins.ruleRegistry] Installing common resources shared between all indices
[2022-04-18T18:06:39.791+05:30][INFO ][plugins.screenshotting.config] Chromium sandbox provides an additional layer of protection, and is supported for Win32 OS. Automatically enabling Chromium sandbox.
[2022-04-18T18:06:41.151+05:30][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect EACCES 192.168.1.19:9200
[2022-04-18T18:06:41.329+05:30][INFO ][plugins.screenshotting.chromium] Browser executable: C:\kibana-8.1.2\x-pack\plugins\screenshotting\chromium\chrome-win\chrome.exe
The console entries do look fine. Although I dont understand a lot of entries yet.
But when I enter http://localhost:5601/
on the browser, I get the webpage:
Kibana server is not ready yet.
But after a while I do see this pop up in the console:
[2022-04-18T18:26:39.188+05:30][ERROR][plugins.ruleRegistry] Error: Timeout: it took more than 1200000ms
at Timeout._onTimeout (C:\kibana-8.1.2\x-pack\plugins\rule_registry\server\rule_data_plugin_service\resource_installer.js:54:20)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
[2022-04-18T18:26:39.195+05:30][ERROR][plugins.ruleRegistry] Error: Failure installing common resources shared between all indices. Timeout: it took more than 1200000ms
at ResourceInstaller.installWithTimeout (C:\kibana-8.1.2\x-pack\plugins\rule_registry\server\rule_data_plugin_service\resource_installer.js:63:13)
at ResourceInstaller.installCommonResources (C:\kibana-8.1.2\x-pack\plugins\rule_registry\server\rule_data_plugin_service\resource_installer.js:77:5)
Can you please tell me what am is going wrong here. I see that it's a common problem. But I tried a lot of the solutions provided on SO, but nothing worked yet.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您有一个错误:
您是否升级了所有软件? Elastic,Kibana,logstash(+FileBeat(如果需要))。
You've got an error:
Did you upgrade all of software? Elastic, Kibana, Logstash (+Filebeat if needed).