일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- license delete
- matplotlib
- ELASTIC
- springboot
- Java
- Elasticsearch
- flask
- MySQL
- token filter test
- zip 파일 암호화
- Kafka
- sort
- query
- plugin
- Test
- API
- Mac
- aggs
- 900gle
- TensorFlow
- analyzer test
- high level client
- Python
- licence delete curl
- zip 암호화
- License
- 차트
- aggregation
- docker
- 파이썬
- Today
- Total
개발잡부
[es8] docker elasticsearch 8.6 본문
버전을 올려보자
8.6.2
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.6.2
내 로컬 경로
/Users/doo/docker/es8.6.2
docker compose up -d --build
키바나가 안뜨길래 로그를 봤더니 - docker logs {container_id}
[2023-03-04T15:45:34.975+00:00][WARN ][plugins.reporting.config] Found 'server.host: "0.0.0.0"' in Kibana configuration. Reporting is not able to use this as the Kibana server hostname. To enable PNG/PDF Reporting to work, 'xpack.reporting.kibanaServer.hostname: localhost' is automatically set in the configuration. You can prevent this message by adding 'xpack.reporting.kibanaServer.hostname: localhost' in kibana.yml.
일단 이건 워닝이긴 하지만 그래도 추가
[2023-03-04T15:45:36.251+00:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.24.0.2:9200
server.publicBaseUrlThe publicly available URL that end-users access Kibana at. Must include the protocol, hostname, port (if different than the defaults for http and https, 80 and 443 respectively), and the server.basePath (if configured). This setting cannot end in a slash (/).
Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: unable to authenticate user [kibana_system] for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]
키바나 패스워드를 변경했더니 kibana 가 es 에 붙지 못하는..
kibana password 는 초기패스 워드를 유지하고 키바나에 접속해서 kibana_system 계정의 패스워들르 변경했어야 하는데
그냥 changeme 로 사용
ELASTIC_VERSION=8.6.2
## Passwords for stack users
#
# User 'elastic' (built-in)
#
# Superuser role, full access to cluster management and data indices.
# https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html
ELASTIC_PASSWORD='dlengus'
# User 'logstash_internal' (custom)
#
# The user Logstash uses to connect and send data to Elasticsearch.
# https://www.elastic.co/guide/en/logstash/current/ls-security.html
LOGSTASH_INTERNAL_PASSWORD='changeme'
# User 'kibana_system' (built-in)
#
# The user Kibana uses to connect and communicate with Elasticsearch.
# https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html
KIBANA_SYSTEM_PASSWORD='changeme'
password 를 초기패스워드로 바꿔도 키바나 계정 오류가 나면
setup 볼륨을 지워서 다시 생성함
'ElasticStack8 > System' 카테고리의 다른 글
[es] 900gle ELK8 for docker compose (0) | 2022.09.02 |
---|---|
[es] Elasticsearch 8 for Ubuntu (0) | 2022.09.02 |
[es] Elasticsearch 8 install for docker compose (0) | 2022.09.02 |
[es] Elastic stack 8 for docker compose (0) | 2022.09.01 |