启动./bin/kibana然后报错。Elasticsearch9200是已经启动成功的
用的是es账户,不是root
[es@localhost kibana-7.8.0]$ ./bin/kibana
log [02:19:59.867] [warning][plugins-discovery] Expect plugin "id" in camelCase, but found: apm_oss
log [02:19:59.898] [warning][plugins-discovery] Expect plugin "id" in camelCase, but found: triggers_actions_ui
log [02:20:11.944] [info][plugins-service] Plugin "visTypeXy" is disabled.
log [02:20:11.945] [info][plugins-service] Plugin "endpoint" is disabled.
log [02:20:11.945] [info][plugins-service] Plugin "ingestManager" is disabled.
log [02:20:11.946] [info][plugins-service] Plugin "lists" is disabled.
log [02:20:14.069] [info][plugins-system] Setting up [94] plugins: [taskManager,licensing,observability,encryptedSavedObjects,eventLog,code,usageCollection,ossTelemetry,telemetryCollectionManager,telemetry,telemetryCollectionXpack,kibanaLegacy,devTools,translations,uiActions,statusPage,share,newsfeed,mapsLegacy,mapsLegacyLicensing,kibanaUtils,kibanaReact,inspector,embeddable,advancedUiActions,embeddableEnhanced,drilldowns,indexPatternManagement,esUiShared,discover,bfetch,expressions,data,home,cloud,console,consoleExtensions,apm_oss,searchprofiler,painlessLab,grokdebugger,management,upgradeAssistant,reporting,licenseManagement,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,advancedSettings,telemetryManagementSection,fileUpload,dataEnhanced,visualizations,visTypeVega,visTypeTimelion,features,security,snapshotRestore,transform,ingestPipelines,canvas,visTypeTable,visTypeMarkdown,inputControlVis,savedObjects,navigation,lens,graph,maps,visualize,dashboard,dashboardEnhanced,savedObjectsManagement,spaces,actions,case,alerting,alertingBuiltins,ml,charts,visTypeTimeseries,rollup,visTypeVislib,visTypeTagcloud,visTypeMetric,watcher,triggers_actions_ui,siem,infra,monitoring,logstash,apm,uptime]
log [02:20:14.085] [warning][config][encryptedSavedObjects][plugins] Generating a random key for xpack.encryptedSavedObjects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml
log [02:20:14.354] [warning][config][plugins][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
log [02:20:14.355] [warning][config][plugins][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [02:20:14.438] [warning][actions][actions][plugins] APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml.
log [02:20:14.469] [warning][alerting][alerting][plugins][plugins] APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml.
log [02:20:14.640] [info][monitoring][monitoring][plugins] config sourced from: production cluster
log [02:20:14.642] [warning][monitoring][monitoring][plugins] X-Pack Monitoring Cluster Alerts will not be available: undefined
log [02:20:14.919] [info][plugins][searchprofiler] You cannot use searchprofiler because license information is not available at this time.
log [02:20:14.920] [info][painlessLab][plugins] You cannot use painlessLab because license information is not available at this time.
log [02:20:14.921] [info][indexManagement][plugins] You cannot use index_management because license information is not available at this time.
log [02:20:14.921] [info][plugins][remoteClusters] You cannot use Remote Clusters because license information is not available at this time.
log [02:20:14.922] [info][crossClusterReplication][plugins] You cannot use crossClusterReplication because license information is not available at this time.
log [02:20:14.922] [info][indexLifecycleManagement][plugins] You cannot use index_lifecycle_management because license information is not available at this time.
log [02:20:14.923] [info][plugins][snapshotRestore] You cannot use snapshot_restore because license information is not available at this time.
log [02:20:14.924] [info][plugins][transform] You cannot use transform because license information is not available at this time.
log [02:20:14.924] [info][ingestPipelines][plugins] You cannot use ingest_pipelines because license information is not available at this time.
log [02:20:14.927] [info][plugins][rollup] You cannot use rollup because license information is not available at this time.
log [02:20:14.928] [info][plugins][watcher] You cannot use watcher because license information is not available at this time.
log [02:20:14.942] [info][kibana-monitoring][monitoring][monitoring][plugins] Monitoring status upload endpoint is not enabled in Elasticsearch:Monitoring stats collection is stopped
log [02:20:15.233] [info][savedobjects-service] Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations...
log [02:20:15.367] [info][savedobjects-service] Starting saved objects migrations
log [02:20:45.372] [warning][savedobjects-service] Unable to connect to Elasticsearch. Error: Request Timeout after 30000ms
配置文件的ip和端口,还有账号都没有问题。版本也是一致的
Unable to connect to Elasticsearch. Error: Request Timeout after 30000ms
看下kibana配置的es地址是否正确