• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

혹시 못찾으시는분들

19.12.08 06:01 작성 조회수 133

1

https://www.elastic.co/guide/en/kibana/current/tutorial-build-dashboard.html#tutorial-load-dataset

답변 3

·

답변을 작성해보세요.

1

paki1019님의 프로필

paki1019

2020.09.01

curl 명령어에서 유저 지정을 제거 하시고 <host>, <port>를 본인의 환경에 맞게 넣어주시면 되겠습니다.

curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/_bulk?pretty' --data-binary @accounts.json
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/shakespeare/_bulk?pretty' --data-binary @shakespeare.json
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/_bulk?pretty' --data-binary @logs.jsonl

1

light1369님의 프로필

light1369

2020.01.13

안녕하세요.

curl -u elastic -H 'Content-Type: application/x-ndjson' -XPOST '<host>:<port>/bank/_bulk?pretty' --data-binary @accounts.json
curl -u elastic -H 'Content-Type: application/x-ndjson' -XPOST '<host>:<port>/shakespeare/_bulk?pretty' --data-binary @shakespeare.json
curl -u elastic -H 'Content-Type: application/x-ndjson' -XPOST '<host>:<port>/_bulk?pretty' --data-binary @logs.jsonl

해당 명령어를 실행시키면 엘라스틱 서치에 로그인 하라고 뜨면서 진행이 안되네요. 기본 따로 엘라스틱 서치 계정 및 패스워드를 변경한적은 없습니다.

구글링을 통해 changeme 라는 기본 패스워드를 입력 해봐도 안되네요 ㅠ 어떻게 해야할까요 

0

감사합니다.!!