Kibana is now available (was degraded), No ML saved objects in need of synchronization

I am not able to open kibana GUI , It is continuously throwing error as

[2022-09-25T22:39:48.677+00:00][INFO ][plugins.monitoring.monitoring] config sourced from: production cluster
[2022-09-25T22:39:50.434+00:00][INFO ][http.server.Kibana] http server running at http://172.31.45.241:80
[2022-09-25T22:39:50.517+00:00][INFO ][plugins.monitoring.monitoring.kibana-monitoring] Starting monitoring stats collection
[2022-09-25T22:39:50.584+00:00][INFO ][plugins.ruleRegistry] Installed common resources shared between all indices
[2022-09-25T22:39:50.584+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-security.alerts
[2022-09-25T22:39:50.585+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .preview.alerts-security.alerts
[2022-09-25T22:39:50.585+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-observability.uptime.alerts
[2022-09-25T22:39:50.585+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-observability.logs.alerts
[2022-09-25T22:39:50.585+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-observability.metrics.alerts
[2022-09-25T22:39:50.586+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-observability.apm.alerts
[2022-09-25T22:39:50.611+00:00][INFO ][status] Kibana is now degraded
[2022-09-25T22:39:50.614+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-observability.apm.alerts
[2022-09-25T22:39:50.615+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-observability.metrics.alerts
[2022-09-25T22:39:50.616+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-observability.logs.alerts
[2022-09-25T22:39:50.616+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-observability.uptime.alerts
[2022-09-25T22:39:50.623+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-security.alerts
[2022-09-25T22:39:50.676+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .preview.alerts-security.alerts
[2022-09-25T22:39:50.829+00:00][INFO ][plugins.screenshotting.chromium] Browser executable: /home/elastic/kibana/x-pack/plugins/screenshotting/chromium/headless_shell-linux_x64/headless_shell
[2022-09-25T22:39:51.036+00:00][INFO ][plugins.ml] Task ML:saved-objects-sync-task: scheduled with interval 1h
[2022-09-25T22:39:53.671+00:00][INFO ][status] Kibana is now available (was degraded)
[2022-09-25T22:39:53.707+00:00][INFO ][plugins.ml] Task ML:saved-objects-sync-task: No ML saved objects in need of synchronization
[2022-09-25T22:43:03.863+00:00][INFO ][plugins-system.standard] Stopping all plugins.
[2022-09-25T22:43:03.865+00:00][INFO ][plugins.monitoring.monitoring.kibana-monitoring] Monitoring stats collection is stopped
[2022-09-25T22:43:03.886+00:00][INFO ][plugins.fleet] Beginning fleet setup

I am performing this on aws linux and using chrome to open gui for the same but unable to open

Welcome to our community! :smiley:

There are no errors there, only INFO level. It'd help if you shared your config please.
Also please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you :slight_smile:

server : AWS Linux
Elastic Version : elasticsearch-8.4.2
ELastic Config:


cluster.name: c1
node.name: master-1
node.attr.zone: 1
network.host: [local, site]
cluster.initial_master_nodes: ["master-1"]
xpack.security.enabled: false
xpack.security.enrollment.enabled: false
node.roles: [ master ]


$ curl -XGET 'http://localhost:9200/_cluster/health?pretty'
{
"cluster_name" : "c1",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 2,
"number_of_data_nodes" : 1,
"active_primary_shards" : 9,
"active_shards" : 9,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}


Kibana Version : kibana-8.4.2/
Kibana.yml :


server.port: 80
server.host: "172.31.45.241"


  • I am running kibana from root user as ./kibana --allow-root

Logs :


[2022-09-26T06:29:00.396+00:00][INFO ][node] Kibana process configured with roles: [background_tasks, ui]
[2022-09-26T06:29:20.867+00:00][INFO ][http.server.Preboot] http server running at http://172.31.45.241:80
[2022-09-26T06:29:20.915+00:00][INFO ][plugins-system.preboot] Setting up [1] plugins: [interactiveSetup]
[2022-09-26T06:29:20.919+00:00][INFO ][preboot] "interactiveSetup" plugin is holding setup: Validating Elasticsearch connection configuration…
[2022-09-26T06:29:20.957+00:00][INFO ][root] Holding setup until preboot stage is completed.
[2022-09-26T06:29:21.003+00:00][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-09-26T06:29:21.266+00:00][INFO ][plugins-system.standard] Setting up [121] plugins: [translations,monitoringCollection,licensing,globalSearch,globalSearchProviders,features,mapsEms,licenseApiGuard,usageCollection,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,share,embeddable,uiActionsEnhanced,screenshotMode,banners,newsfeed,fieldFormats,expressions,dataViews,charts,esUiShared,customIntegrations,home,searchprofiler,painlessLab,grokdebugger,management,advancedSettings,spaces,security,lists,encryptedSavedObjects,cloud,snapshotRestore,screenshotting,telemetry,licenseManagement,eventLog,actions,console,bfetch,data,watcher,reporting,fileUpload,ingestPipelines,alerting,unifiedSearch,savedObjects,graph,savedObjectsTagging,savedObjectsManagement,presentationUtil,expressionShape,expressionRevealImage,expressionRepeatImage,expressionMetric,expressionImage,controls,eventAnnotation,dataViewFieldEditor,triggersActionsUi,transform,stackAlerts,ruleRegistry,discover,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,cloudSecurityPosture,discoverEnhanced,aiops,visualizations,canvas,visTypeXy,visTypeVislib,visTypeVega,visTypeTimeseries,rollup,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypeMetric,visTypeHeatmap,visTypeMarkdown,dashboard,dashboardEnhanced,expressionXY,expressionTagcloud,expressionPartitionVis,visTypePie,expressionMetricVis,expressionLegacyMetricVis,expressionHeatmap,expressionGauge,lens,osquery,maps,dataVisualizer,ml,cases,timelines,sessionView,kubernetesSecurity,securitySolution,visTypeGauge,sharedUX,observability,synthetics,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,dataViewManagement]
[2022-09-26T06:29:21.287+00:00][INFO ][plugins.taskManager] TaskManager is identified by the Kibana UUID: 715442ba-845f-44cb-ac4d-a6ee38f48bfc
[2022-09-26T06:29:21.378+00:00][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-09-26T06:29:21.379+00:00][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2022-09-26T06:29:21.410+00:00][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-09-26T06:29:21.411+00:00][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2022-09-26T06:29:21.420+00:00][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-09-26T06:29:21.446+00:00][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-09-26T06:29:21.563+00:00][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-09-26T06:29:21.571+00:00][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-09-26T06:29:21.618+00:00][INFO ][plugins.ruleRegistry] Installing common resources shared between all indices
[2022-09-26T06:29:21.671+00:00][INFO ][plugins.cloudSecurityPosture] Registered task successfully [Task: cloud_security_posture-stats_task]
[2022-09-26T06:29:22.436+00:00][INFO ][plugins.screenshotting.config] Chromium sandbox provides an additional layer of protection, and is supported for Linux Amazon Linux 2 (Karoo) OS. Automatically enabling Chromium sandbox.
[2022-09-26T06:29:22.604+00:00][INFO ][savedobjects-service] Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations...
[2022-09-26T06:29:22.605+00:00][INFO ][savedobjects-service] Starting saved objects migrations
[2022-09-26T06:29:22.719+00:00][INFO ][savedobjects-service] [.kibana_task_manager] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 78ms.
[2022-09-26T06:29:22.763+00:00][INFO ][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 126ms.
[2022-09-26T06:29:22.778+00:00][INFO ][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 59ms.
[2022-09-26T06:29:22.804+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 42ms.
[2022-09-26T06:29:22.998+00:00][INFO ][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 220ms.
[2022-09-26T06:29:23.021+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 217ms.
[2022-09-26T06:29:23.028+00:00][INFO ][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 30ms.
[2022-09-26T06:29:23.080+00:00][INFO ][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 59ms.
[2022-09-26T06:29:23.368+00:00][INFO ][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 340ms.
[2022-09-26T06:29:23.637+00:00][INFO ][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 557ms.
[2022-09-26T06:29:23.928+00:00][INFO ][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 560ms.
[2022-09-26T06:29:23.928+00:00][INFO ][savedobjects-service] [.kibana_task_manager] Migration completed after 1287ms
[2022-09-26T06:29:24.218+00:00][INFO ][plugins.screenshotting.chromium] Browser executable: /home/elastic/kibana/x-pack/plugins/screenshotting/chromium/headless_shell-linux_x64/headless_shell
[2022-09-26T06:29:24.250+00:00][INFO ][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 613ms.
[2022-09-26T06:29:24.250+00:00][INFO ][savedobjects-service] [.kibana] Migration completed after 1614ms
[2022-09-26T06:29:24.258+00:00][INFO ][plugins-system.preboot] Stopping all plugins.
[2022-09-26T06:29:24.260+00:00][INFO ][plugins-system.standard] Starting [121] plugins: [translations,monitoringCollection,licensing,globalSearch,globalSearchProviders,features,mapsEms,licenseApiGuard,usageCollection,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,share,embeddable,uiActionsEnhanced,screenshotMode,banners,newsfeed,fieldFormats,expressions,dataViews,charts,esUiShared,customIntegrations,home,searchprofiler,painlessLab,grokdebugger,management,advancedSettings,spaces,security,lists,encryptedSavedObjects,cloud,snapshotRestore,screenshotting,telemetry,licenseManagement,eventLog,actions,console,bfetch,data,watcher,reporting,fileUpload,ingestPipelines,alerting,unifiedSearch,savedObjects,graph,savedObjectsTagging,savedObjectsManagement,presentationUtil,expressionShape,expressionRevealImage,expressionRepeatImage,expressionMetric,expressionImage,controls,eventAnnotation,dataViewFieldEditor,triggersActionsUi,transform,stackAlerts,ruleRegistry,discover,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,cloudSecurityPosture,discoverEnhanced,aiops,visualizations,canvas,visTypeXy,visTypeVislib,visTypeVega,visTypeTimeseries,rollup,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypeMetric,visTypeHeatmap,visTypeMarkdown,dashboard,dashboardEnhanced,expressionXY,expressionTagcloud,expressionPartitionVis,visTypePie,expressionMetricVis,expressionLegacyMetricVis,expressionHeatmap,expressionGauge,lens,osquery,maps,dataVisualizer,ml,cases,timelines,sessionView,kubernetesSecurity,securitySolution,visTypeGauge,sharedUX,observability,synthetics,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,dataViewManagement]
[2022-09-26T06:29:25.895+00:00][INFO ][plugins.monitoring.monitoring] config sourced from: production cluster
[2022-09-26T06:29:27.725+00:00][INFO ][http.server.Kibana] http server running at http://172.31.45.241:80
[2022-09-26T06:29:27.811+00:00][INFO ][status] Kibana is now degraded
[2022-09-26T06:29:27.880+00:00][INFO ][plugins.monitoring.monitoring.kibana-monitoring] Starting monitoring stats collection
[2022-09-26T06:29:27.952+00:00][INFO ][plugins.ruleRegistry] Installed common resources shared between all indices
[2022-09-26T06:29:27.953+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-security.alerts
[2022-09-26T06:29:27.953+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .preview.alerts-security.alerts
[2022-09-26T06:29:27.953+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-observability.uptime.alerts
[2022-09-26T06:29:27.954+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-observability.logs.alerts
[2022-09-26T06:29:27.954+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-observability.metrics.alerts
[2022-09-26T06:29:27.954+00:00][INFO ][plugins.ruleRegistry] Installing resources for index .alerts-observability.apm.alerts
[2022-09-26T06:29:27.986+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-security.alerts
[2022-09-26T06:29:27.987+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-observability.uptime.alerts
[2022-09-26T06:29:27.988+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-observability.metrics.alerts
[2022-09-26T06:29:27.994+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .preview.alerts-security.alerts
[2022-09-26T06:29:28.071+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-observability.logs.alerts
[2022-09-26T06:29:28.072+00:00][INFO ][plugins.ruleRegistry] Installed resources for index .alerts-observability.apm.alerts
[2022-09-26T06:29:28.333+00:00][INFO ][plugins.ml] Task ML:saved-objects-sync-task: scheduled with interval 1h
[2022-09-26T06:29:31.701+00:00][INFO ][plugins.securitySolution.endpoint:metadata-check-transforms-task:0.0.1] no endpoint installation found
[2022-09-26T06:29:33.963+00:00][INFO ][plugins.ml] Task ML:saved-objects-sync-task: No ML saved objects in need of synchronization
[2022-09-26T06:29:36.840+00:00][INFO ][status] Kibana is now available (was degraded)


after this if I try to login using Public Ip address, it doesn't open anything

Kibana is definitely ready.

I guess it depends on if that IP is an internal one, or if you want it to be public facing.

this ip is AWS internal ip. I have tried using pblic IP as well. it would be great help if you help me here with some tweaks needed

When using public ip i am getting below error :

./kibana --allow-root

[2022-09-26T08:41:26.551+00:00][INFO ][node] Kibana process configured with roles: [background_tasks, ui]
[2022-09-26T08:41:37.663+00:00][FATAL][root] Error: listen EADDRNOTAVAIL: address not available 43.205.144.108:80
at Server.setupListenHandle [as _listen2] (node:net:1355:21)
at listenInCluster (node:net:1420:12)
at doListen (node:net:1559:7)
at processTicksAndRejections (node:internal/process/task_queues:84:21)

FATAL Error: listen EADDRNOTAVAIL: address not available 43.205.144.108:80

Kibana can only bind to an interface/IP if it exists on the host.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.