Local Setup:
version: '3.7'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
ports:
- "9200:9200"
command: >
/bin/sh -c "./bin/elasticsearch-plugin list | grep -q repository-s3
|| ./bin/elasticsearch-plugin install --batch repository-s3;
echo "<redacted>" | bin/elasticsearch-keystore add --stdin --force s3.client.default.access_key;
echo "<redacted>"| bin/elasticsearch-keystore add --stdin --force s3.client.default.secret_key;
/usr/local/bin/docker-entrypoint.sh"
kibana:
image: docker.elastic.co/kibana/kibana:7.9.2
ports:
- "5601:5601"
There are no clear error that appears in the docker container logs
You can see the response log from trying to retrieve snapshots
kibana_1 | {"type":"response","@timestamp":"2021-02-15T16:38:43Z","tags":[],"pid":7,"method":"get","statusCode":200,"req":{"url":"/api/snapshot_restore/snapshots","method":"get","headers":{"host":"localhost:5601","connection":"keep-alive","kbn-version":"7.9.2","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36","content-type":"application/json","accept":"*/*","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"http://localhost:5601/app/management/data/snapshot_restore/snapshots","accept-encoding":"gzip, deflate, br","accept-language":"en-GB,en-US;q=0.9,en;q=0.8"},"remoteAddress":"172.21.0.1","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36","referer":"http://localhost:5601/app/management/data/snapshot_restore/snapshots"},"res":{"statusCode":200,"responseTime":30018,"contentLength":9},"message":"GET /api/snapshot_restore/snapshots 200 30018ms - 9.0B"}