Kibana error after login

Hi,

I try to install stack Kibana version 8.15 and Elasticsearch. Elasticsearch and Kibana is successfully installed, but when log into Kibana, I have this error
"urlForwarding" is not found

Could you please check your kibana and elasticsearch.yml files, makes sure they are configured correctly and check your kibana and es logs?

Thanks,
Bhavya

Same here.
I use elastic 8.17.0.

The cluster and kibana runs behind a proxy and the proxy is behind cloudflare.

Version: 8.17.0
Build: 80539
Error: Definition of plugin "urlForwarding" not found and may have failed to load.

Here is the log:

{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:47.847+01:00","message":"Checking agent policies for compliance with the current license.","log":{"level":"INFO","logger":"plugins.fleet.endpoint.agentPolicyLicenseWatch"},"process":{"pid":1181271,"uptime":18.647256156},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:47.866+01:00","message":"SLO component template found with version [3.3]","log":{"level":"INFO","logger":"plugins.slo"},"process":{"pid":1181271,"uptime":18.647496109},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:47.907+01:00","message":"Installing index template .kibana-elastic-ai-assistant-index-template-conversations","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":18.647636578},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.103+01:00","message":"SLO index template found with version [3.3]","log":{"level":"INFO","logger":"plugins.slo"},"process":{"pid":1181271,"uptime":18.647844951},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.162+01:00","message":"Updating index template .kibana-event-log-template","log":{"level":"INFO","logger":"plugins.eventLog"},"process":{"pid":1181271,"uptime":18.652164844},"trace":{"id":"f26e1c3e175070d8cef7df634618fffb"},"transaction":{"id":"63e3cec69c43be4e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.194+01:00","message":"SLO index template found with version [3.3]","log":{"level":"INFO","logger":"plugins.slo"},"process":{"pid":1181271,"uptime":18.683998316},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.195+01:00","message":"Updating data streams - .kibana-elastic-ai-assistant-conversations-*","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":18.685242063},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.259+01:00","message":"Installing component template .kibana-elastic-ai-assistant-component-template-knowledge-base","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":18.749132565},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.280+01:00","message":"[runTask()] started","log":{"level":"INFO","logger":"plugins.fleet.fleet:unenroll-inactive-agents-task:1.0.0"},"process":{"pid":1181271,"uptime":18.770562967},"trace":{"id":"3f9fcaa254f0ab0c4ff8e3569d66ccf3"},"transaction":{"id":"42ea5c6fd6255ce6"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.334+01:00","message":"Installing index template .kibana-elastic-ai-assistant-index-template-knowledge-base","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":18.824314361},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.345+01:00","message":"Updating data streams - .kibana-data-quality-dashboard-results-*","log":{"level":"INFO","logger":"plugins.ecsDataQualityDashboard"},"process":{"pid":1181271,"uptime":18.835620225},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.383+01:00","message":"All agent policies are compliant, nothing to do!","log":{"level":"INFO","logger":"plugins.fleet.endpoint.agentPolicyLicenseWatch"},"process":{"pid":1181271,"uptime":18.872988357},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.392+01:00","message":"Updating data streams - .kibana-elastic-ai-assistant-knowledge-base-*","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":18.882322681},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.396+01:00","message":"Updating concrete index mappings for .kibana-event-log-ds","log":{"level":"INFO","logger":"plugins.eventLog"},"process":{"pid":1181271,"uptime":18.886015002},"trace":{"id":"f26e1c3e175070d8cef7df634618fffb"},"transaction":{"id":"63e3cec69c43be4e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.401+01:00","message":"Task ProductDocBase:EnsureUpToDate scheduled to run soon","log":{"level":"INFO","logger":"plugins.productDocBase.doc-manager"},"process":{"pid":1181271,"uptime":18.891442753},"trace":{"id":"f26e1c3e175070d8cef7df634618fffb"},"transaction":{"id":"63e3cec69c43be4e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.445+01:00","message":"Installing component template .kibana-elastic-ai-assistant-component-template-prompts","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":18.935579812},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"http":{"response":{"status_code":401},"request":{"method":"post","path":"/api/core/capabilities"}},"error":{"message":"security_exception\n\tRoot causes:\n\t\tsecurity_exception: missing authentication credentials for REST request [/_security/user/_has_privileges]"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.449+01:00","message":"401 Unauthorized","log":{"level":"ERROR","logger":"http"},"process":{"pid":1181271,"uptime":18.939346274},"trace":{"id":"d6df4684cde3d99695c1e6aa64dd5c36"},"transaction":{"id":"b9d4da109b165f38"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.461+01:00","message":"Installing index template .kibana-elastic-ai-assistant-index-template-prompts","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":18.95112982},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.462+01:00","message":"Fleet Usage: {\"agents_enabled\":true,\"agents\":{\"total_enrolled\":0,\"healthy\":0,\"unhealthy\":0,\"offline\":0,\"inactive\":0,\"unenrolled\":0,\"total_all_statuses\":0,\"updating\":0},\"fleet_server\":{\"total_all_statuses\":0,\"total_enrolled\":0,\"healthy\":0,\"unhealthy\":0,\"offline\":0,\"updating\":0,\"inactive\":0,\"unenrolled\":0,\"num_host_urls\":0},\"license_issued_to\":\"es-v2\"}","log":{"level":"INFO","logger":"plugins.fleet"},"process":{"pid":1181271,"uptime":18.952095677},"trace":{"id":"70e6325560bfb3d10b31345e93b80b00"},"transaction":{"id":"cda5bc26a8b52f71"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.463+01:00","message":"[UnenrollInactiveAgentsTask] runTask ended: success","log":{"level":"INFO","logger":"plugins.fleet.fleet:unenroll-inactive-agents-task:1.0.0"},"process":{"pid":1181271,"uptime":18.953056122},"trace":{"id":"3f9fcaa254f0ab0c4ff8e3569d66ccf3"},"transaction":{"id":"42ea5c6fd6255ce6"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.506+01:00","message":"Browser executable: /usr/share/kibana/node_modules/@kbn/screenshotting-plugin/chromium/headless_shell-linux_x64/headless_shell","log":{"level":"INFO","logger":"plugins.screenshotting.chromium"},"process":{"pid":1181271,"uptime":18.996116996},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.523+01:00","message":"Updating data streams - .kibana-elastic-ai-assistant-prompts-*","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":19.013121792},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.526+01:00","message":"Installing component template .kibana-elastic-ai-assistant-component-template-anonymization-fields","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":19.015719878},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.553+01:00","message":"Installing index template .kibana-elastic-ai-assistant-index-template-anonymization-fields","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":19.043011713},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.635+01:00","message":"Updating data streams - .kibana-elastic-ai-assistant-anonymization-fields-*","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":19.125585361},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.648+01:00","message":"Installing component template .kibana-elastic-ai-assistant-component-template-attack-discovery","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":19.138108721},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.683+01:00","message":"Installing index template .kibana-elastic-ai-assistant-index-template-attack-discovery","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":19.173320892},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.693+01:00","message":"Beginning fleet setup","log":{"level":"INFO","logger":"plugins.fleet"},"process":{"pid":1181271,"uptime":19.183143237},"trace":{"id":"ecdcb7f7080b81b64d90269196d2e6b0"},"transaction":{"id":"a340002ce864634e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.694+01:00","message":"Cleaning old indices","log":{"level":"INFO","logger":"plugins.fleet"},"process":{"pid":1181271,"uptime":19.183933321},"trace":{"id":"ecdcb7f7080b81b64d90269196d2e6b0"},"transaction":{"id":"a340002ce864634e"}}
{"tags":["taskClaiming","claimAvailableTasksMget"],"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:48.814+01:00","message":"Background task node \"8674324e-d452-4474-8f75-dd7ba70e0bc5\" now claiming with assigned partitions","log":{"level":"INFO","logger":"plugins.taskManager"},"process":{"pid":1181271,"uptime":19.304835047},"trace":{"id":"66871f86258623b6b617dafd9f4fcf30"},"transaction":{"id":"1622afcddbba1b8a"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.019+01:00","message":"Updating data streams - .kibana-elastic-ai-assistant-attack-discovery-*","log":{"level":"INFO","logger":"plugins.elasticAssistant.service"},"process":{"pid":1181271,"uptime":19.509512148},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"ed3274ca8eaff218"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.100+01:00","message":"Updating default preconfigured output fleet-default-output is no longer preconfigured","log":{"level":"INFO","logger":"plugins.fleet"},"process":{"pid":1181271,"uptime":19.590510659},"trace":{"id":"ecdcb7f7080b81b64d90269196d2e6b0"},"transaction":{"id":"a340002ce864634e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.139+01:00","message":"Successfully set up index assets","log":{"level":"INFO","logger":"plugins.observabilityAIAssistant"},"process":{"pid":1181271,"uptime":19.629272799},"trace":{"id":"22f27e52f8425f68e6e209149deeade3"},"transaction":{"id":"6a362e75a58267d1"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.156+01:00","message":"Output secrets storage is disabled as minimum fleet server version has not been met","log":{"level":"INFO","logger":"plugins.fleet"},"process":{"pid":1181271,"uptime":19.645878713},"trace":{"id":"ecdcb7f7080b81b64d90269196d2e6b0"},"transaction":{"id":"a340002ce864634e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.353+01:00","message":"alerting plugin is now available: Alerting is (probably) ready","log":{"level":"INFO","logger":"status.plugins.alerting"},"process":{"pid":1181271,"uptime":19.843594544},"trace":{"id":"e30101f8110f7ab1383c916b7851b1bf"},"transaction":{"id":"eab1e72164419259"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.354+01:00","message":"fleet plugin is now available: Fleet is setting up","log":{"level":"INFO","logger":"status.plugins.fleet"},"process":{"pid":1181271,"uptime":19.843973337},"trace":{"id":"e30101f8110f7ab1383c916b7851b1bf"},"transaction":{"id":"eab1e72164419259"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.354+01:00","message":"licensing plugin is now available: License fetched","log":{"level":"INFO","logger":"status.plugins.licensing"},"process":{"pid":1181271,"uptime":19.844380699},"trace":{"id":"e30101f8110f7ab1383c916b7851b1bf"},"transaction":{"id":"eab1e72164419259"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.355+01:00","message":"taskManager plugin is now available: Task Manager is healthy","log":{"level":"INFO","logger":"status.plugins.taskManager"},"process":{"pid":1181271,"uptime":19.84467069},"trace":{"id":"e30101f8110f7ab1383c916b7851b1bf"},"transaction":{"id":"eab1e72164419259"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.434+01:00","message":"Kibana is now available","log":{"level":"INFO","logger":"status"},"process":{"pid":1181271,"uptime":19.923752179},"trace":{"id":"e30101f8110f7ab1383c916b7851b1bf"},"transaction":{"id":"eab1e72164419259"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.786+01:00","message":"xpack.encryptedSavedObjects.encryptionKey is not configured, private key passphrase is being stored in plain text","log":{"level":"WARN","logger":"plugins.fleet"},"process":{"pid":1181271,"uptime":20.275783287},"trace":{"id":"ecdcb7f7080b81b64d90269196d2e6b0"},"transaction":{"id":"a340002ce864634e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.825+01:00","message":"Fleet setup completed","log":{"level":"INFO","logger":"plugins.fleet"},"process":{"pid":1181271,"uptime":20.315709273},"trace":{"id":"ecdcb7f7080b81b64d90269196d2e6b0"},"transaction":{"id":"a340002ce864634e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.900+01:00","message":"xpack.encryptedSavedObjects.encryptionKey is not configured, agent uninstall tokens are being stored in plain text","log":{"level":"WARN","logger":"plugins.fleet"},"process":{"pid":1181271,"uptime":20.389834063},"trace":{"id":"f26e1c3e175070d8cef7df634618fffb"},"transaction":{"id":"63e3cec69c43be4e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.904+01:00","message":"Dependent plugin setup complete - Starting ManifestTask","log":{"level":"INFO","logger":"plugins.securitySolution"},"process":{"pid":1181271,"uptime":20.394244428},"trace":{"id":"f26e1c3e175070d8cef7df634618fffb"},"transaction":{"id":"63e3cec69c43be4e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.951+01:00","message":"All relevant features are enabled. Nothing to do!","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint.policyProtectionsComplianceChecks"},"process":{"pid":1181271,"uptime":20.441097925},"trace":{"id":"f26e1c3e175070d8cef7df634618fffb"},"transaction":{"id":"63e3cec69c43be4e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.952+01:00","message":"App feature [endpoint_agent_tamper_protection] is enabled. Nothing to do!","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint.agentPolicyFeatures"},"process":{"pid":1181271,"uptime":20.441633437},"trace":{"id":"f26e1c3e175070d8cef7df634618fffb"},"transaction":{"id":"63e3cec69c43be4e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:32:49.967+01:00","message":"Installed synthetics index templates","log":{"level":"INFO","logger":"plugins.synthetics"},"process":{"pid":1181271,"uptime":20.457077805},"trace":{"id":"f26e1c3e175070d8cef7df634618fffb"},"transaction":{"id":"63e3cec69c43be4e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:33:05.688+01:00","message":"Performing login attempt with \"basic\" provider.","log":{"level":"INFO","logger":"plugins.security.authentication"},"process":{"pid":1181271,"uptime":36.178055849},"trace":{"id":"ba0dd4ec44cb792e2f71010e4578702e"},"transaction":{"id":"1ca858d59d70a5d9"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-12-13T18:33:06.747+01:00","message":"Login attempt with \"basic\" provider succeeded (requires redirect: true).","log":{"level":"INFO","logger":"plugins.security.authentication"},"process":{"pid":1181271,"uptime":37.237038509},"trace":{"id":"ba0dd4ec44cb792e2f71010e4578702e"},"transaction":{"id":"1ca858d59d70a5d9"}}

Here is the kibana config:

server.port: 5601

server.host: "0.0.0.0"

server.publicBaseUrl: "https://sub.kibana-not-working.net/"

elasticsearch.hosts: ["https://0.0.0.0:9200"]

elasticsearch.ssl.verificationMode: none

logging:
  appenders:
    file:
      type: file
      fileName: /var/log/kibana/kibana.log
      layout:
        type: json
  root:
    appenders:
      - default
      - file

pid.file: /run/kibana/kibana.pid

Elastic:


cluster.name: 'es-v2'

node.name: 'es-v2-1'
node.roles: [ master, data ]
node.attr.data: patents

path.data: /media/es/data

path.logs: /var/log/elasticsearch

bootstrap.memory_lock: true

network.host: 10.254.1.29

discovery.seed_hosts: ["es-v2-1"]

xpack.security.enabled: true

xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
   enabled: true
   keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
   enabled: true
   verification_mode: certificate
   keystore.path: certs/transport.p12
   truststore.path: certs/transport.p12
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["es-v2-1"]

# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
http.host: 0.0.0.0

# Allow other nodes to join the cluster from anywhere
# Connections are encrypted and mutually authenticated
transport.host: 0.0.0.0

Greetings and thanks a lot,
Seb

Hi,
Sorry for my late reply,
The solution I used is to configure my nginx proxy and transform http requests into https.

nginx proxy -> elasticsearch server

proxy_pass https://myelasticsearchserver