KIBANA Management
ELASTICSEARCH 저장된 데이터 중 어떤 Index( RDB's Database )를 시각화할지 정한다.
Step 1. Set Basketball Data
curl -XDELETE localhost:9200/basketball
curl -XPUT localhost:9200/basketball
wget https://raw.githubusercontent.com/minsuk-heo/BigData/master/ch04/basketball_mapping.json
curl -XPUT localhost:9200/basketball/record/_mappin -d @basketball_mapping.json
wget https://raw.githubusercontent.com/minsuk-heo/BigData/master/ch05/bulk_basketball.json
curl -XPOST localhost:9200/_bulk --data-binary @bulk_basketball.json
Step 2. Access KIBANA
AWS 같은 클라우드를 사용하면
localhost
를 각자의 IP 주소로 바꾼다.
Go To Management
Tab (http://localhost:5601/app/kibana#/management/kibana/index?_g=())
Create Index Patterns
- Index name or pattern
- basketball*
- Time-field name
- submit_date