deviantony / docker-elk

The Elastic stack (ELK) powered by Docker and Compose.
MIT License
17.37k stars 6.81k forks source link

Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.24.0.2:9200 #995

Closed ayushpjtelesoft closed 5 months ago

ayushpjtelesoft commented 5 months ago

Problem description

Extra information

Stack configuration

Docker setup

Client: Docker Engine - Community

$ docker version
Version:           26.1.1

Please paste the full output of the docker-compose version command below.

version: '3.7'

services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:7.17.9
    container_name: elasticsearch
    environment:
      - discovery.type=single-node
      - ES_JAVA_OPTS=-Xms512m -Xmx512m
    ports:
      - "9200:9200"
    volumes:
      - esdata:/usr/share/elasticsearch/data

  kibana:
    image: docker.elastic.co/kibana/kibana:7.17.9
    container_name: kibana
    environment:
      - ELASTICSEARCH_URL=http://elasticsearch:9200
      - ELASTICSEARCH_HOSTS=http://elasticsearch:9200
    ports:
      - "5601:5601"
    depends_on:
      - elasticsearch

  app:
    build: .
    container_name: email_app
    environment:
      - ELASTICSEARCH_HOST=${ELASTICSEARCH_HOST}
      - OUTLOOK_CLIENT_ID=${OUTLOOK_CLIENT_ID}
      - OUTLOOK_CLIENT_SECRET=${OUTLOOK_CLIENT_SECRET}
      - SESSION_SECRET=${SESSION_SECRET}
      - REDIRECT_URI=${REDIRECT_URI}
      - TENANT_ID=${TENANT_ID}
      - PORT=${PORT}
    ports:
      - "3000:3000"
    depends_on:
      - elasticsearch
    volumes:
      - .:/usr/src/app
    command: "npm start"

volumes:
  esdata:
    driver: local
```console
$ docker-compose version

[OUTPUT HERE]

Docker build output


docker-compose up        
WARN[0000] /Users/ayushraj/Documents/ayush/email-app/docker-compose.yml: `version` is obsolete 
[+] Running 4/0
 ✔ Network email-app_default  Created                                                                                                                                                  0.0s 
 ✔ Container elasticsearch    Created                                                                                                                                                  0.0s 
 ✔ Container email_app        Created                                                                                                                                                  0.0s 
 ✔ Container kibana           Created                                                                                                                                                  0.0s 
Attaching to elasticsearch, email_app, kibana
email_app      | 
email_app      | > email-app@1.0.0 start /app
email_app      | > node index.js
email_app      | 
email_app      | {"name":"AzureAD: OIDC Passport Strategy","hostname":"819fd8f519a1","pid":18,"level":40,"msg":"Production environments should always validate the issuer.","time":"2024-06-12T05:19:13.465Z","v":0}
email_app      | {"name":"AzureAD: OIDC Passport Strategy","hostname":"819fd8f519a1","pid":18,"level":40,"msg":"Using http for redirectUrl is not recommended, please consider using https","time":"2024-06-12T05:19:13.465Z","v":0}
email_app      | Server started on port 3000
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:14,936Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "version[7.17.9], pid[6], build[default/docker/ef48222227ee6b9e70e502f0f0daa52435ee634d/2023-01-31T05:34:43.305517834Z], OS[Linux/6.6.26-linuxkit/aarch64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/19.0.2/19.0.2+7-44]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:14,937Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:14,937Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-2981528537837866515, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Des.cgroups.hierarchy.override=/, -Xms512m, -Xmx512m, -XX:MaxDirectMemorySize=268435456, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [aggs-matrix-stats]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [analysis-common]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [constant-keyword]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [frozen-indices]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [ingest-common]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [ingest-geoip]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [ingest-user-agent]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [kibana]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [lang-expression]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,353Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [lang-mustache]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,355Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [lang-painless]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,355Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [legacy-geo]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,355Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [mapper-extras]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,355Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [mapper-version]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,356Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [parent-join]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,356Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [percolator]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,356Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [rank-eval]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,356Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [reindex]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,356Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [repositories-metering-api]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,356Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [repository-encrypted]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,356Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [repository-url]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,356Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [runtime-fields-common]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,357Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [search-business-rules]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,357Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [searchable-snapshots]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,357Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [snapshot-repo-test-kit]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,357Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [spatial]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,358Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [transform]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,358Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [transport-netty4]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,358Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [unsigned-long]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,358Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [vector-tile]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,358Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [vectors]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,358Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [wildcard]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,359Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-aggregate-metric]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,359Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-analytics]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,359Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-async]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,359Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-async-search]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,359Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-autoscaling]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,359Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-ccr]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,359Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-core]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,359Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-data-streams]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,361Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-deprecation]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,361Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-enrich]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,362Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-eql]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,362Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-fleet]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,363Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-graph]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,363Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-identity-provider]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,363Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-ilm]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,363Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-logstash]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,363Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-ml]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-monitoring]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-ql]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-rollup]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-security]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-shutdown]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-sql]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-stack]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-text-structure]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,364Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-voting-only-node]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,365Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "loaded module [x-pack-watcher]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,366Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "no plugins loaded" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,391Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/vda1)]], net usable_space [51gb], net total_space [58.3gb], types [ext4]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,391Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "heap size [512mb], compressed ordinary object pointers [true]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:16,438Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "node name [1402488b858b], node ID [jV4pnypVQiqxNUTQm2ofqA], cluster name [docker-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:19,173Z", "level": "INFO", "component": "o.e.x.m.p.l.CppLogMessageHandler", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "[controller/220] [Main.cc@122] controller (64 bit): Version 7.17.9 (Build ffceceeb3d63bc) Copyright (c) 2023 Elasticsearch BV" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:19,604Z", "level": "INFO", "component": "o.e.x.s.a.s.FileRolesStore", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "parsed [0] roles from file [/usr/share/elasticsearch/config/roles.yml]" }
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["info","plugins-service"],"pid":6,"message":"Plugin \"metricsEntities\" is disabled."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["info","http","server","Preboot"],"pid":6,"message":"http server running at http://0.0.0.0:5601"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","config","deprecation"],"pid":6,"message":"Starting in 8.0, the Kibana logging format will be changing. This may affect you if you are doing any special handling of your Kibana logs, such as ingesting logs into Elasticsearch for further analysis. If you are using the new logging configuration, you are already receiving logs in both old and new formats, and the old format will simply be going away. If you are not yet using the new logging configuration, the log format will change upon upgrade to 8.0. Beginning in 8.0, the format of JSON logs will be ECS-compatible JSON, and the default pattern log format will be configurable with our new logging system. Please refer to the documentation for more information about the new logging format."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","config","deprecation"],"pid":6,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","config","deprecation"],"pid":6,"message":"User sessions will automatically time out after 8 hours of inactivity starting in 8.0. Override this value to change the timeout."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","config","deprecation"],"pid":6,"message":"Users are automatically required to log in again after 30 days starting in 8.0. Override this value to change the timeout."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["info","plugins-system","standard"],"pid":6,"message":"Setting up [113] plugins: [translations,licensing,globalSearch,globalSearchProviders,features,licenseApiGuard,code,usageCollection,xpackLegacy,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,share,embeddable,uiActionsEnhanced,screenshotMode,banners,telemetry,newsfeed,mapsEms,mapsLegacy,kibanaLegacy,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,canvas,lists,ingestPipelines,fileUpload,encryptedSavedObjects,dataEnhanced,cloud,snapshotRestore,eventLog,actions,alerting,triggersActionsUi,transform,stackAlerts,ruleRegistry,visualizations,visTypeXy,visTypeVislib,visTypeVega,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypePie,visTypeMetric,visTypeMarkdown,tileMap,regionMap,expressionTagcloud,expressionMetricVis,console,graph,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,dashboard,maps,dashboardMode,dashboardEnhanced,visualize,visTypeTimeseries,rollup,indexPatternFieldEditor,lens,cases,timelines,discover,osquery,observability,discoverEnhanced,dataVisualizer,ml,uptime,securitySolution,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,savedObjectsManagement,indexPatternManagement]"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["info","plugins","taskManager"],"pid":6,"message":"TaskManager is identified by the Kibana UUID: 57717f26-a9ea-426e-a6ea-5c3de602e2b4"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","plugins","security","config"],"pid":6,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","plugins","security","config"],"pid":6,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","plugins","security","config"],"pid":6,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","plugins","security","config"],"pid":6,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","plugins","reporting","config"],"pid":6,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","plugins","encryptedSavedObjects"],"pid":6,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:19+00:00","tags":["warning","plugins","actions"],"pid":6,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:20+00:00","tags":["warning","plugins","alerting"],"pid":6,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:20+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installing common resources shared between all indices"}
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:20,173Z", "level": "INFO", "component": "o.e.i.g.ConfigDatabases", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [/usr/share/elasticsearch/config/ingest-geoip] for changes" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:20,174Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "initialized database registry, using geoip-databases directory [/tmp/elasticsearch-2981528537837866515/geoip-databases/jV4pnypVQiqxNUTQm2ofqA]" }
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:20+00:00","tags":["info","plugins","reporting","config"],"pid":6,"message":"Chromium sandbox provides an additional layer of protection, and is supported for Linux Ubuntu 20.04 OS. Automatically enabling Chromium sandbox."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:20+00:00","tags":["error","elasticsearch-service"],"pid":6,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.24.0.2:9200"}
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:20,513Z", "level": "INFO", "component": "o.e.t.NettyAllocator", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:20,533Z", "level": "INFO", "component": "o.e.i.r.RecoverySettings", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:20,558Z", "level": "INFO", "component": "o.e.d.DiscoveryModule", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "using discovery type [single-node] and seed hosts providers [settings]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:20,830Z", "level": "INFO", "component": "o.e.g.DanglingIndicesState", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,212Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "initialized" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,212Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "starting ..." }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,228Z", "level": "INFO", "component": "o.e.x.s.c.f.PersistentCache", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "persistent cache index loaded" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,228Z", "level": "INFO", "component": "o.e.x.d.l.DeprecationIndexingComponent", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "deprecation component started" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,295Z", "level": "INFO", "component": "o.e.t.TransportService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "publish_address {172.24.0.2:9300}, bound_addresses {[::]:9300}" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,571Z", "level": "INFO", "component": "o.e.c.c.Coordinator", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "cluster UUID [d14hiZS-Rf2gVK0roytiAw]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,693Z", "level": "INFO", "component": "o.e.c.s.MasterService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "elected-as-master ([1] nodes joined)[{1402488b858b}{jV4pnypVQiqxNUTQm2ofqA}{ZcqT1KqOQfucp5GKDDyEvQ}{172.24.0.2}{172.24.0.2:9300}{cdfhilmrstw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 31, version: 440, delta: master node changed {previous [], current [{1402488b858b}{jV4pnypVQiqxNUTQm2ofqA}{ZcqT1KqOQfucp5GKDDyEvQ}{172.24.0.2}{172.24.0.2:9300}{cdfhilmrstw}]}" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,730Z", "level": "INFO", "component": "o.e.c.s.ClusterApplierService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "master node changed {previous [], current [{1402488b858b}{jV4pnypVQiqxNUTQm2ofqA}{ZcqT1KqOQfucp5GKDDyEvQ}{172.24.0.2}{172.24.0.2:9300}{cdfhilmrstw}]}, term: 31, version: 440, reason: Publication{term=31, version=440}" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,751Z", "level": "INFO", "component": "o.e.h.AbstractHttpServerTransport", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "publish_address {172.24.0.2:9200}, bound_addresses {[::]:9200}", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,752Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "started", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,926Z", "level": "INFO", "component": "o.e.l.LicenseService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "license [992e84aa-7347-41eb-a3bd-3cce90ebd25d] mode [basic] - valid", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,927Z", "level": "INFO", "component": "o.e.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "Active license is now [BASIC]; Security is disabled", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,927Z", "level": "WARN", "component": "o.e.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security.", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "deprecation.elasticsearch", "timestamp": "2024-06-12T05:19:21,927Z", "level": "CRITICAL", "component": "o.e.d.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "The default behavior of disabling security on basic licenses is deprecated. In a later version of Elasticsearch, the value of [xpack.security.enabled] will default to \"true\" , regardless of the license level. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security, or explicitly disable security by setting [xpack.security.enabled] to false in elasticsearch.yml", "key": "security_implicitly_disabled", "category": "security", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:21,930Z", "level": "INFO", "component": "o.e.g.GatewayService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "recovered [9] indices into cluster_state", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:22,247Z", "level": "ERROR", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "exception during geoip databases update", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" , 
elasticsearch  | "stacktrace": ["org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active",
elasticsearch  | "at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:137) ~[ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:284) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:100) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:46) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:777) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch  | "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [?:?]",
elasticsearch  | "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [?:?]",
elasticsearch  | "at java.lang.Thread.run(Thread.java:1589) [?:?]"] }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:22,450Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "retrieve geoip database [GeoLite2-Country.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-2981528537837866515/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-Country.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:22,451Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "retrieve geoip database [GeoLite2-City.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-2981528537837866515/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-City.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:22,451Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "retrieve geoip database [GeoLite2-ASN.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-2981528537837866515/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-ASN.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:22,612Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-2981528537837866515/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-Country.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:22,619Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-2981528537837866515/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-ASN.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:22,626Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.ds-.logs-deprecation.elasticsearch-default-2024.06.10-000001][0]]]).", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:22+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:22+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"Starting saved objects migrations"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:22+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana_task_manager] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 12ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:22+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 37ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:22+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 27ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:22+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 7ms."}
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:22,993Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-2981528537837866515/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-City.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 30ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 34ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 6ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 10ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 139ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 158ms."}
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:23,335Z", "level": "INFO", "component": "o.e.t.LoggingTaskListener", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "159 finished with response BulkByScrollResponse[took=150ms,timed_out=false,sliceId=null,updated=17,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:23,371Z", "level": "INFO", "component": "o.e.t.LoggingTaskListener", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "152 finished with response BulkByScrollResponse[took=246.4ms,timed_out=false,sliceId=null,updated=34,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 225ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana_task_manager] Migration completed after 466ms"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 249ms."}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana] Migration completed after 468ms"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","plugins-system","standard"],"pid":6,"message":"Starting [113] plugins: [translations,licensing,globalSearch,globalSearchProviders,features,licenseApiGuard,code,usageCollection,xpackLegacy,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,share,embeddable,uiActionsEnhanced,screenshotMode,banners,telemetry,newsfeed,mapsEms,mapsLegacy,kibanaLegacy,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,canvas,lists,ingestPipelines,fileUpload,encryptedSavedObjects,dataEnhanced,cloud,snapshotRestore,eventLog,actions,alerting,triggersActionsUi,transform,stackAlerts,ruleRegistry,visualizations,visTypeXy,visTypeVislib,visTypeVega,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypePie,visTypeMetric,visTypeMarkdown,tileMap,regionMap,expressionTagcloud,expressionMetricVis,console,graph,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,dashboard,maps,dashboardMode,dashboardEnhanced,visualize,visTypeTimeseries,rollup,indexPatternFieldEditor,lens,cases,timelines,discover,osquery,observability,discoverEnhanced,dataVisualizer,ml,uptime,securitySolution,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,savedObjectsManagement,indexPatternManagement]"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:23+00:00","tags":["info","plugins","monitoring","monitoring"],"pid":6,"message":"config sourced from: production cluster"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","http","server","Kibana"],"pid":6,"message":"http server running at http://0.0.0.0:5601"}
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T05:19:24,497Z", "level": "INFO", "component": "o.e.x.i.a.TransportPutLifecycleAction", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "updating index lifecycle policy [.alerts-ilm-policy]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","monitoring","monitoring","kibana-monitoring"],"pid":6,"message":"Starting monitoring stats collection"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installed common resources shared between all indices"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installing resources for index .alerts-observability.uptime.alerts"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installing resources for index .alerts-observability.logs.alerts"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installing resources for index .alerts-observability.metrics.alerts"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installing resources for index .alerts-observability.apm.alerts"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installed resources for index .alerts-observability.uptime.alerts"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installed resources for index .alerts-observability.metrics.alerts"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installed resources for index .alerts-observability.logs.alerts"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":6,"message":"Installed resources for index .alerts-observability.apm.alerts"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","plugins","securitySolution"],"pid":6,"message":"Dependent plugin setup complete - Starting ManifestTask"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:24+00:00","tags":["info","status"],"pid":6,"message":"Kibana is now degraded"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:25+00:00","tags":["info","plugins","reporting","chromium"],"pid":6,"message":"Browser executable: /usr/share/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_arm64/headless_shell"}
kibana         | {"type":"log","@timestamp":"2024-06-12T05:19:27+00:00","tags":["info","status"],"pid":6,"message":"Kibana is now available (was degraded)"}
elasticsearch  | {"type": "deprecation.elasticsearch", "timestamp": "2024-06-12T05:24:24,566Z", "level": "WARN", "component": "o.e.d.c.m.IndexNameExpressionResolver", "cluster.name": "docker-cluster", "node.name": "1402488b858b", "message": "this request accesses system indices: [.tasks], but in a future major version, direct access to system indices will be prevented by default", "key": "open_system_index_access", "category": "api", "elasticsearch.elastic_product_origin": "kibana", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }

v View in Docker Desktop   w Enable Watch

```console
antoineco commented 5 months ago

What is the issue exactly?

CONNREFUSED errors are normal when Elasticsearch is still starting. Your logs cover about 15 seconds, give it a minute.

ayushpjtelesoft commented 5 months ago
ayushraj@Ayushs-Laptop email-app % docker-compose up --build
WARN[0000] /Users/ayushraj/Documents/ayush/email-app/docker-compose.yml: `version` is obsolete 
[+] Building 1.9s (11/11) FINISHED                                                                                                                                     docker:desktop-linux
 => [app internal] load build definition from Dockerfile                                                                                                                               0.0s
 => => transferring dockerfile: 403B                                                                                                                                                   0.0s
 => [app internal] load metadata for docker.io/library/node:14                                                                                                                         1.7s
 => [app auth] library/node:pull token for registry-1.docker.io                                                                                                                        0.0s
 => [app internal] load .dockerignore                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                        0.0s
 => [app 1/5] FROM docker.io/library/node:14@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa                                                                   0.0s
 => [app internal] load build context                                                                                                                                                  0.1s
 => => transferring context: 279.53kB                                                                                                                                                  0.1s
 => CACHED [app 2/5] WORKDIR /app                                                                                                                                                      0.0s
 => CACHED [app 3/5] COPY package*.json ./                                                                                                                                             0.0s
 => CACHED [app 4/5] RUN npm install                                                                                                                                                   0.0s
 => CACHED [app 5/5] COPY . .                                                                                                                                                          0.0s
 => [app] exporting to image                                                                                                                                                           0.0s
 => => exporting layers                                                                                                                                                                0.0s
 => => writing image sha256:e9e95f492791a32d25e33d22878c97069788a70c25e98489ca6c4f85022d8cc3                                                                                           0.0s
 => => naming to docker.io/library/email-app-app                                                                                                                                       0.0s
[+] Running 4/0
 ✔ Network email-app_default  Created                                                                                                                                                  0.0s 
 ✔ Container elasticsearch    Created                                                                                                                                                  0.0s 
 ✔ Container email_app        Created                                                                                                                                                  0.0s 
 ✔ Container kibana           Created                                                                                                                                                  0.0s 
Attaching to elasticsearch, email_app, kibana
email_app      | 
email_app      | > email-app@1.0.0 start /app
email_app      | > node index.js
email_app      | 
email_app      | {"name":"AzureAD: OIDC Passport Strategy","hostname":"0479a2f19ce9","pid":19,"level":40,"msg":"Production environments should always validate the issuer.","time":"2024-06-12T07:14:17.061Z","v":0}
email_app      | {"name":"AzureAD: OIDC Passport Strategy","hostname":"0479a2f19ce9","pid":19,"level":40,"msg":"Using http for redirectUrl is not recommended, please consider using https","time":"2024-06-12T07:14:17.063Z","v":0}
email_app      | Server started on port 3000
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:18,766Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "version[7.17.9], pid[7], build[default/docker/ef48222227ee6b9e70e502f0f0daa52435ee634d/2023-01-31T05:34:43.305517834Z], OS[Linux/6.6.26-linuxkit/aarch64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/19.0.2/19.0.2+7-44]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:18,770Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:18,771Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-12858804329222051209, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Des.cgroups.hierarchy.override=/, -Xms512m, -Xmx512m, -XX:MaxDirectMemorySize=268435456, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [aggs-matrix-stats]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [analysis-common]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [constant-keyword]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [frozen-indices]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,277Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [ingest-common]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [ingest-geoip]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [ingest-user-agent]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [kibana]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [lang-expression]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [lang-mustache]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [lang-painless]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [legacy-geo]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,278Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [mapper-extras]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [mapper-version]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [parent-join]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [percolator]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [rank-eval]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [reindex]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [repositories-metering-api]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [repository-encrypted]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,279Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [repository-url]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [runtime-fields-common]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [search-business-rules]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [searchable-snapshots]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [snapshot-repo-test-kit]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [spatial]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [transform]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [transport-netty4]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [unsigned-long]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,283Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [vector-tile]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,284Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [vectors]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,284Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [wildcard]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,284Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-aggregate-metric]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,284Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-analytics]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-async]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-async-search]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-autoscaling]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-ccr]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-core]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-data-streams]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-deprecation]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-enrich]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-eql]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-fleet]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-graph]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-identity-provider]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-ilm]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-logstash]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,285Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-ml]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-monitoring]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-ql]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-rollup]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-security]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-shutdown]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-sql]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-stack]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-text-structure]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-voting-only-node]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,286Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "loaded module [x-pack-watcher]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,287Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "no plugins loaded" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,323Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/vda1)]], net usable_space [51gb], net total_space [58.3gb], types [ext4]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,327Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "heap size [512mb], compressed ordinary object pointers [true]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:20,367Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "node name [3eefde64abdb], node ID [jV4pnypVQiqxNUTQm2ofqA], cluster name [docker-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:23,297Z", "level": "INFO", "component": "o.e.x.m.p.l.CppLogMessageHandler", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "[controller/221] [Main.cc@122] controller (64 bit): Version 7.17.9 (Build ffceceeb3d63bc) Copyright (c) 2023 Elasticsearch BV" }
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["info","plugins-service"],"pid":7,"message":"Plugin \"metricsEntities\" is disabled."}
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:23,772Z", "level": "INFO", "component": "o.e.x.s.a.s.FileRolesStore", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "parsed [0] roles from file [/usr/share/elasticsearch/config/roles.yml]" }
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["info","http","server","Preboot"],"pid":7,"message":"http server running at http://0.0.0.0:5601"}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["warning","config","deprecation"],"pid":7,"message":"Starting in 8.0, the Kibana logging format will be changing. This may affect you if you are doing any special handling of your Kibana logs, such as ingesting logs into Elasticsearch for further analysis. If you are using the new logging configuration, you are already receiving logs in both old and new formats, and the old format will simply be going away. If you are not yet using the new logging configuration, the log format will change upon upgrade to 8.0. Beginning in 8.0, the format of JSON logs will be ECS-compatible JSON, and the default pattern log format will be configurable with our new logging system. Please refer to the documentation for more information about the new logging format."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["warning","config","deprecation"],"pid":7,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["warning","config","deprecation"],"pid":7,"message":"User sessions will automatically time out after 8 hours of inactivity starting in 8.0. Override this value to change the timeout."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["warning","config","deprecation"],"pid":7,"message":"Users are automatically required to log in again after 30 days starting in 8.0. Override this value to change the timeout."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["info","plugins-system","standard"],"pid":7,"message":"Setting up [113] plugins: [translations,licensing,globalSearch,globalSearchProviders,features,licenseApiGuard,code,usageCollection,xpackLegacy,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,share,embeddable,uiActionsEnhanced,screenshotMode,banners,telemetry,newsfeed,mapsEms,mapsLegacy,kibanaLegacy,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,canvas,lists,ingestPipelines,fileUpload,encryptedSavedObjects,dataEnhanced,cloud,snapshotRestore,eventLog,actions,alerting,triggersActionsUi,transform,stackAlerts,ruleRegistry,visualizations,visTypeXy,visTypeVislib,visTypeVega,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypePie,visTypeMetric,visTypeMarkdown,tileMap,regionMap,expressionTagcloud,expressionMetricVis,console,graph,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,dashboard,maps,dashboardMode,dashboardEnhanced,visualize,visTypeTimeseries,rollup,indexPatternFieldEditor,lens,cases,timelines,discover,osquery,observability,discoverEnhanced,dataVisualizer,ml,uptime,securitySolution,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,savedObjectsManagement,indexPatternManagement]"}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:23+00:00","tags":["info","plugins","taskManager"],"pid":7,"message":"TaskManager is identified by the Kibana UUID: 1c2cb26f-8001-4318-a24c-31af0dff129d"}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","security","config"],"pid":7,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","security","config"],"pid":7,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","security","config"],"pid":7,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","security","config"],"pid":7,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","reporting","config"],"pid":7,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","encryptedSavedObjects"],"pid":7,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","actions"],"pid":7,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["warning","plugins","alerting"],"pid":7,"message":"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."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["info","plugins","ruleRegistry"],"pid":7,"message":"Installing common resources shared between all indices"}
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:24,287Z", "level": "INFO", "component": "o.e.i.g.ConfigDatabases", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [/usr/share/elasticsearch/config/ingest-geoip] for changes" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:24,289Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "initialized database registry, using geoip-databases directory [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA]" }
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["info","plugins","reporting","config"],"pid":7,"message":"Chromium sandbox provides an additional layer of protection, and is supported for Linux Ubuntu 20.04 OS. Automatically enabling Chromium sandbox."}
kibana         | {"type":"log","@timestamp":"2024-06-12T07:14:24+00:00","tags":["error","elasticsearch-service"],"pid":7,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200"}
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:24,714Z", "level": "INFO", "component": "o.e.t.NettyAllocator", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:24,735Z", "level": "INFO", "component": "o.e.i.r.RecoverySettings", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:24,763Z", "level": "INFO", "component": "o.e.d.DiscoveryModule", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "using discovery type [single-node] and seed hosts providers [settings]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,047Z", "level": "INFO", "component": "o.e.g.DanglingIndicesState", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,433Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "initialized" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,434Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "starting ..." }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,442Z", "level": "INFO", "component": "o.e.x.s.c.f.PersistentCache", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "persistent cache index loaded" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,442Z", "level": "INFO", "component": "o.e.x.d.l.DeprecationIndexingComponent", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "deprecation component started" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,520Z", "level": "INFO", "component": "o.e.t.TransportService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "publish_address {172.26.0.2:9300}, bound_addresses {[::]:9300}" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,789Z", "level": "INFO", "component": "o.e.c.c.Coordinator", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "cluster UUID [d14hiZS-Rf2gVK0roytiAw]" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,892Z", "level": "INFO", "component": "o.e.c.s.MasterService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "elected-as-master ([1] nodes joined)[{3eefde64abdb}{jV4pnypVQiqxNUTQm2ofqA}{v6kBHYI3T_27WtKMRfbYrw}{172.26.0.2}{172.26.0.2:9300}{cdfhilmrstw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 34, version: 474, delta: master node changed {previous [], current [{3eefde64abdb}{jV4pnypVQiqxNUTQm2ofqA}{v6kBHYI3T_27WtKMRfbYrw}{172.26.0.2}{172.26.0.2:9300}{cdfhilmrstw}]}" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,925Z", "level": "INFO", "component": "o.e.c.s.ClusterApplierService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "master node changed {previous [], current [{3eefde64abdb}{jV4pnypVQiqxNUTQm2ofqA}{v6kBHYI3T_27WtKMRfbYrw}{172.26.0.2}{172.26.0.2:9300}{cdfhilmrstw}]}, term: 34, version: 474, reason: Publication{term=34, version=474}" }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,948Z", "level": "INFO", "component": "o.e.h.AbstractHttpServerTransport", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "publish_address {172.26.0.2:9200}, bound_addresses {[::]:9200}", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:25,949Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "started", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,129Z", "level": "INFO", "component": "o.e.l.LicenseService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "license [992e84aa-7347-41eb-a3bd-3cce90ebd25d] mode [basic] - valid", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,130Z", "level": "INFO", "component": "o.e.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "Active license is now [BASIC]; Security is disabled", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,131Z", "level": "WARN", "component": "o.e.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security.", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "deprecation.elasticsearch", "timestamp": "2024-06-12T07:14:26,131Z", "level": "CRITICAL", "component": "o.e.d.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "The default behavior of disabling security on basic licenses is deprecated. In a later version of Elasticsearch, the value of [xpack.security.enabled] will default to \"true\" , regardless of the license level. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security, or explicitly disable security by setting [xpack.security.enabled] to false in elasticsearch.yml", "key": "security_implicitly_disabled", "category": "security", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,136Z", "level": "INFO", "component": "o.e.g.GatewayService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "recovered [9] indices into cluster_state", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,525Z", "level": "ERROR", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "exception during geoip databases update", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA" , 
elasticsearch  | "stacktrace": ["org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active",
elasticsearch  | "at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:137) ~[ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:284) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:100) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:46) [ingest-geoip-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:777) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch  | "at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-7.17.9.jar:7.17.9]",
elasticsearch  | "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [?:?]",
elasticsearch  | "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [?:?]",
elasticsearch  | "at java.lang.Thread.run(Thread.java:1589) [?:?]"] }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,678Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "retrieve geoip database [GeoLite2-Country.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-Country.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,680Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "retrieve geoip database [GeoLite2-City.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-City.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,680Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "retrieve geoip database [GeoLite2-ASN.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-ASN.mmdb.tmp.gz]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,850Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-Country.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,862Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-ASN.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:26,881Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.ds-.logs-deprecation.elasticsearch-default-2024.06.10-000001][0]]]).", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
elasticsearch  | {"type": "server", "timestamp": "2024-06-12T07:14:27,234Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "3eefde64abdb", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-12858804329222051209/geoip-databases/jV4pnypVQiqxNUTQm2ofqA/GeoLite2-City.mmdb]", "cluster.uuid": "d14hiZS-Rf2gVK0roytiAw", "node.id": "jV4pnypVQiqxNUTQm2ofqA"  }
email_app      | 🚀 ~ file: passportConfig.js:47 ~ passport.use ~ profile.oid: 003c1927-a123-486a-bc11-41b9b23067cd
email_app      | 🚀 ~ file: oauthService.js:7 ~ passport.authenticate ~ user: undefined
email_app      | ConnectionError: connect ECONNREFUSED 127.0.0.1:9200
email_app      |     at SniffingTransport.request (/app/node_modules/@elastic/transport/lib/Transport.js:541:31)
email_app      |     at processTicksAndRejections (internal/process/task_queues.js:95:5)
email_app      |     at async Client.GetApi [as get] (/app/node_modules/@elastic/elasticsearch/lib/api/api/get.js:36:12)
email_app      |     at async Function.findById (/app/models/userModel.js:13:22)

v View in Docker Desktop   w Enable Watch

thanks for quickly reply but still in 15 seconds or 1 minute the error is same i tried after 1 minute but same response i am getting. @antoineco

antoineco commented 5 months ago

Kibana is reporting connect ECONNREFUSED 127.0.0.1:9200 127.0.0.1 is the address of the loopback interface, so you will not get an answer from Elasticsearch on Kibana's loopback.

I see that you are running on version 7 of the Elastic stack. As indicated in the README, this requires switching to the release-7.x branch of this Git repository, because there are subtle differences between v7 and v8. Are you using that branch?

I also see that your configuration seems different from docker-elk's defaults. For example, you removed the network bridge, but that part is critical to allowing name-based discovery between containers of the ELK stack (e.g. for Kibana to address Elasticsearch at http://elasticsearch:9200 without hardcoding network names). We request in the issue template that people share their configuration so that we can reproduce issues on our end.

hendisantika commented 5 months ago

I just clone the repo then run docker compose up But I have sama issues.

What should I do?

Thanks

antoineco commented 5 months ago

@hendisantika

I just clone the repo then run docker compose up

I suggest reading the README a little bit too. You will find your answer pretty quickly, even if you just stop at tl;dr.

hendisantika commented 5 months ago

Which part @antoineco ?

Maybe I miss something

hendisantika commented 5 months ago

Oh sorry @antoineco ... I miss to run docker compose setup before running docker compose up. I thought it was same. OK Thanks

antoineco commented 5 months ago

Closing due to inactivity. Feel free to reopen if the problem persists and you are able to share enough details for us to reproduce.