Submit Search
Upload
Elasticsearch 설치 및 기본 활용
•
Download as PPTX, PDF
•
56 likes
•
19,479 views
종민 김
Follow
엘라스틱서치 기본 활용 강좌입니다.
Read less
Read more
Technology
Report
Share
Report
Share
1 of 20
Download now
Recommended
[2D1]Elasticsearch 성능 최적화
[2D1]Elasticsearch 성능 최적화
NAVER D2
아파트 정보를 이용한 ELK stack 활용 - 오근문
아파트 정보를 이용한 ELK stack 활용 - 오근문
NAVER D2
Elastic search 클러스터관리
Elastic search 클러스터관리
HyeonSeok Choi
[2 d1] elasticsearch 성능 최적화
[2 d1] elasticsearch 성능 최적화
Henry Jeong
Debugging and Testing ES Systems
Debugging and Testing ES Systems
Chris Birchall
[2C6]SQLite DB 의 입출력 특성분석 : Android 와 Tizen 사례
[2C6]SQLite DB 의 입출력 특성분석 : Android 와 Tizen 사례
NAVER D2
[2B1]검색엔진의 패러다임 전환
[2B1]검색엔진의 패러다임 전환
NAVER D2
Elastic Search Training#1 (brief tutorial)-ESCC#1
Elastic Search Training#1 (brief tutorial)-ESCC#1
medcl
Recommended
[2D1]Elasticsearch 성능 최적화
[2D1]Elasticsearch 성능 최적화
NAVER D2
아파트 정보를 이용한 ELK stack 활용 - 오근문
아파트 정보를 이용한 ELK stack 활용 - 오근문
NAVER D2
Elastic search 클러스터관리
Elastic search 클러스터관리
HyeonSeok Choi
[2 d1] elasticsearch 성능 최적화
[2 d1] elasticsearch 성능 최적화
Henry Jeong
Debugging and Testing ES Systems
Debugging and Testing ES Systems
Chris Birchall
[2C6]SQLite DB 의 입출력 특성분석 : Android 와 Tizen 사례
[2C6]SQLite DB 의 입출력 특성분석 : Android 와 Tizen 사례
NAVER D2
[2B1]검색엔진의 패러다임 전환
[2B1]검색엔진의 패러다임 전환
NAVER D2
Elastic Search Training#1 (brief tutorial)-ESCC#1
Elastic Search Training#1 (brief tutorial)-ESCC#1
medcl
ニコニコ動画を検索可能にしてみよう
ニコニコ動画を検索可能にしてみよう
genta kaneyama
MongoDB's New Aggregation framework
MongoDB's New Aggregation framework
Chris Westin
Side by Side with Elasticsearch and Solr
Side by Side with Elasticsearch and Solr
Sematext Group, Inc.
The emerging world of mongo db csp
The emerging world of mongo db csp
Carlos Sánchez Pérez
ElasticSearch
ElasticSearch
Luiz Rocha
Functional Hostnames and Why they are Bad
Functional Hostnames and Why they are Bad
Puppet
10 Key MongoDB Performance Indicators
10 Key MongoDB Performance Indicators
iammutex
Null Bachaav - May 07 Attack Monitoring workshop.
Null Bachaav - May 07 Attack Monitoring workshop.
Prajal Kulkarni
Gazelle - Plack Handler for performance freaks #yokohamapm
Gazelle - Plack Handler for performance freaks #yokohamapm
Masahiro Nagano
The tale of 100 cve's
The tale of 100 cve's
Prajal Kulkarni
ETL With Cassandra Streaming Bulk Loading
ETL With Cassandra Streaming Bulk Loading
alex_araujo
glance replicator
glance replicator
irix_jp
MongoDB: How it Works
MongoDB: How it Works
Mike Dirolf
mongoDB Performance
mongoDB Performance
Moshe Kaplan
Redis and its many use cases
Redis and its many use cases
Christian Joudrey
Solr for Indexing and Searching Logs
Solr for Indexing and Searching Logs
Sematext Group, Inc.
Introduction to JCR and Apache Jackrabbi
Introduction to JCR and Apache Jackrabbi
Jukka Zitting
MySQL Slow Query log Monitoring using Beats & ELK
MySQL Slow Query log Monitoring using Beats & ELK
I Goo Lee
Nodejs - A quick tour (v6)
Nodejs - A quick tour (v6)
Felix Geisendörfer
MongoDB-SESSION03
MongoDB-SESSION03
Jainul Musani
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
Datadog
2 docker engine_hands_on
2 docker engine_hands_on
FEG
More Related Content
What's hot
ニコニコ動画を検索可能にしてみよう
ニコニコ動画を検索可能にしてみよう
genta kaneyama
MongoDB's New Aggregation framework
MongoDB's New Aggregation framework
Chris Westin
Side by Side with Elasticsearch and Solr
Side by Side with Elasticsearch and Solr
Sematext Group, Inc.
The emerging world of mongo db csp
The emerging world of mongo db csp
Carlos Sánchez Pérez
ElasticSearch
ElasticSearch
Luiz Rocha
Functional Hostnames and Why they are Bad
Functional Hostnames and Why they are Bad
Puppet
10 Key MongoDB Performance Indicators
10 Key MongoDB Performance Indicators
iammutex
Null Bachaav - May 07 Attack Monitoring workshop.
Null Bachaav - May 07 Attack Monitoring workshop.
Prajal Kulkarni
Gazelle - Plack Handler for performance freaks #yokohamapm
Gazelle - Plack Handler for performance freaks #yokohamapm
Masahiro Nagano
The tale of 100 cve's
The tale of 100 cve's
Prajal Kulkarni
ETL With Cassandra Streaming Bulk Loading
ETL With Cassandra Streaming Bulk Loading
alex_araujo
glance replicator
glance replicator
irix_jp
MongoDB: How it Works
MongoDB: How it Works
Mike Dirolf
mongoDB Performance
mongoDB Performance
Moshe Kaplan
Redis and its many use cases
Redis and its many use cases
Christian Joudrey
Solr for Indexing and Searching Logs
Solr for Indexing and Searching Logs
Sematext Group, Inc.
Introduction to JCR and Apache Jackrabbi
Introduction to JCR and Apache Jackrabbi
Jukka Zitting
MySQL Slow Query log Monitoring using Beats & ELK
MySQL Slow Query log Monitoring using Beats & ELK
I Goo Lee
Nodejs - A quick tour (v6)
Nodejs - A quick tour (v6)
Felix Geisendörfer
MongoDB-SESSION03
MongoDB-SESSION03
Jainul Musani
What's hot
(20)
ニコニコ動画を検索可能にしてみよう
ニコニコ動画を検索可能にしてみよう
MongoDB's New Aggregation framework
MongoDB's New Aggregation framework
Side by Side with Elasticsearch and Solr
Side by Side with Elasticsearch and Solr
The emerging world of mongo db csp
The emerging world of mongo db csp
ElasticSearch
ElasticSearch
Functional Hostnames and Why they are Bad
Functional Hostnames and Why they are Bad
10 Key MongoDB Performance Indicators
10 Key MongoDB Performance Indicators
Null Bachaav - May 07 Attack Monitoring workshop.
Null Bachaav - May 07 Attack Monitoring workshop.
Gazelle - Plack Handler for performance freaks #yokohamapm
Gazelle - Plack Handler for performance freaks #yokohamapm
The tale of 100 cve's
The tale of 100 cve's
ETL With Cassandra Streaming Bulk Loading
ETL With Cassandra Streaming Bulk Loading
glance replicator
glance replicator
MongoDB: How it Works
MongoDB: How it Works
mongoDB Performance
mongoDB Performance
Redis and its many use cases
Redis and its many use cases
Solr for Indexing and Searching Logs
Solr for Indexing and Searching Logs
Introduction to JCR and Apache Jackrabbi
Introduction to JCR and Apache Jackrabbi
MySQL Slow Query log Monitoring using Beats & ELK
MySQL Slow Query log Monitoring using Beats & ELK
Nodejs - A quick tour (v6)
Nodejs - A quick tour (v6)
MongoDB-SESSION03
MongoDB-SESSION03
Similar to Elasticsearch 설치 및 기본 활용
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
Datadog
2 docker engine_hands_on
2 docker engine_hands_on
FEG
Elasticsearch und die Java-Welt
Elasticsearch und die Java-Welt
Florian Hopf
Logstash
Logstash
琛琳 饶
Rack
Rack
shaokun
Node.js 與 google cloud storage
Node.js 與 google cloud storage
onlinemad
Getting Started with PureScript
Getting Started with PureScript
John De Goes
201304 chef for open stack overview
201304 chef for open stack overview
OpenStack Foundation
201304 chef for open stack overview
201304 chef for open stack overview
OpenStack Foundation
Chef for OpenStack: OpenStack Spring Summit 2013
Chef for OpenStack: OpenStack Spring Summit 2013
Matt Ray
Chef & OpenStack: OSCON 2014
Chef & OpenStack: OSCON 2014
Matt Ray
06 integrate elasticsearch
06 integrate elasticsearch
Erhwen Kuo
How ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps life
琛琳 饶
Amazon EC2 Container Service in Action
Amazon EC2 Container Service in Action
Remotty
Docker Swarm 0.2.0
Docker Swarm 0.2.0
Docker, Inc.
Elasticsearch Introduction
Elasticsearch Introduction
Roopendra Vishwakarma
Java clients for elasticsearch
Java clients for elasticsearch
Florian Hopf
Chickens & Eggs: Managing secrets in AWS with Hashicorp Vault
Chickens & Eggs: Managing secrets in AWS with Hashicorp Vault
Jeff Horwitz
Kubernetes Boston — Custom High Availability of Kubernetes
Kubernetes Boston — Custom High Availability of Kubernetes
Mike Splain
Chef For OpenStack Overview
Chef For OpenStack Overview
OpenStack Foundation
Similar to Elasticsearch 설치 및 기본 활용
(20)
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
2 docker engine_hands_on
2 docker engine_hands_on
Elasticsearch und die Java-Welt
Elasticsearch und die Java-Welt
Logstash
Logstash
Rack
Rack
Node.js 與 google cloud storage
Node.js 與 google cloud storage
Getting Started with PureScript
Getting Started with PureScript
201304 chef for open stack overview
201304 chef for open stack overview
201304 chef for open stack overview
201304 chef for open stack overview
Chef for OpenStack: OpenStack Spring Summit 2013
Chef for OpenStack: OpenStack Spring Summit 2013
Chef & OpenStack: OSCON 2014
Chef & OpenStack: OSCON 2014
06 integrate elasticsearch
06 integrate elasticsearch
How ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps life
Amazon EC2 Container Service in Action
Amazon EC2 Container Service in Action
Docker Swarm 0.2.0
Docker Swarm 0.2.0
Elasticsearch Introduction
Elasticsearch Introduction
Java clients for elasticsearch
Java clients for elasticsearch
Chickens & Eggs: Managing secrets in AWS with Hashicorp Vault
Chickens & Eggs: Managing secrets in AWS with Hashicorp Vault
Kubernetes Boston — Custom High Availability of Kubernetes
Kubernetes Boston — Custom High Availability of Kubernetes
Chef For OpenStack Overview
Chef For OpenStack Overview
Recently uploaded
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Scott Keck-Warren
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
Recently uploaded
(20)
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Elasticsearch 설치 및 기본 활용
1.
ELASTICSEARCH 김종민 E-mail : kimjmin@gmail.com Blog
: http://kimjmin.net Twitter : @kimjmin
2.
Elasticsearch • Schema-free • Distributed
& horizontally scalable • Restful API • JSON Document based • Open Source : Apache License 2.0 • Written in Java • Apache Lucene.
3.
Elasticsearch 1분만에 설치하기 •
wget https://download.elasticsearch.org/ ... /elasticsearch- 1.0.1.tar.gz http://www.elasticsearch.org/download/ • tar –xvfz elasticsearch-1.0.1.tar.gz • cd elasticsearch-1.0.1 • bin/elasticsearch [-d]
4.
살아있는지 체크 (curl
& 브라우저) $ curl localhost:9200 { "status" : 200, "name" : "Arcade", "version" : { "number" : "1.0.1", "build_hash" : "5c03844e1978e5cc924dab2a423dc63ce881c42b", "build_timestamp" : "2014-02-25T15:52:53Z", "build_snapshot" : false, "lucene_version" : "4.6" }, "tagline" : "You Know, for Search" }
5.
데이터 구조 관계 DB
Elasticsearch Database Index Table Type Row Document Column Field Schema Mapping
6.
데이터 입력 • curl
-XPUT host:port/<인덱스>/<타입>/[id] $ curl -XPUT localhost:9200/books/book/1 -d ' { "title" : "Elasticsearch Guide ", "author" : "Kim", "started" : "2014-03-14", "pages" : 250 }' {"_index":"books","_type":"book","_id":"1","_version":1,"created":true}
7.
데이터 수정 • 동일한
Index/Type/ID 로 데이터 입력 $ curl -XPUT localhost:9200/books/book/1 -d ' { "title" : "Elasticsearch Guide", "author" : ["Kim", "Lee"], "started" : "2014-03-14", "pages" : 250 }' {"_index":"books","_type":"book","_id":"1","_version":2,"created":false}
8.
데이터 확인 $ curl
-XGET localhost:9200/books/book/1 {"_index":"books","_type":"book","_id":"1","_version":2,"found":true, "_source" : { "title" : "Elasticsearch Guide", "author" : ["Kim", "Lee"], "started" : "2014-03-14", "pages" : 250 } }
9.
데이터 삭제 $ curl
-XDELETE localhost:9200/books/book/1 {"found":true,"_index":"books","_type":"book","_id":"1","_version":3}
10.
URI 검색 $ curl
–XGET localhost:9200/books/book/_search?q=elasticsearch $ curl -XGET localhost:9200/books/book/_search?q=easy {"took":3,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"t otal":1,"max_score":0.095891505,"hits":[{"_index":"books","_type":"book","_id":" 2","_score":0.095891505, "_source" : { "title" : "Elasticsearch Easy Guide 2", "author" : ["Kim","Lee"], "started" : "2014-03-20", "pages" : 300 }}]}}
11.
URI 검색 (계속) $
curl –XGET localhost:9200/books/book/_search?q=title:elasticsearch $ curl -XGET localhost:9200/books/book/_search?q=author:elasticsearh {"took":1,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"t otal":0,"max_score":null,"hits":[]}}
12.
Request Body 검색 $
curl localhost:9200/books/book/_search -d ' { "query" : { "term" : { "title" : "elasticsearch" } } }'
13.
Shard & Replicas
(Head plugin) • bin/plugin -install mobz/elasticsearch-head $ curl -XPUT localhost:9200/books -d ' { "settings" : { "number_of_shards" : 4, "number_of_replicas" : 1 } }' $ curl -XPUT localhost:9200/magazine -d ' { "settings" : { "number_of_shards" : 2, "number_of_replicas" : 0 } }'
14.
Shard & Replicas
15.
Shard & Replicas
16.
환경 설정 -
노드명 • config/elasticsearch.yml • cluster.name: elasticsearch • node.name: “node1” • bin/elasticsearch -Des.node.name=node1 • bin/elasticsearch --node.name=node1
17.
노드 바인딩 • 실행
포트 : 9200~ • 바인딩 포트 : 9300~
18.
환경 설정 –
마스터노드, 데이터노드 • config/elasticsearch.yml • node.master: false • node.data: true • bin/elasticsearch -Des.node.data=true • bin/elasticsearch --node.data=true
19.
환경 설정 –
마스터노드, 데이터노드
20.
감사합니다 • http://elasticsearch.or.kr • 한국
엘라스틱서치 유저그룹 https://www.facebook.com/groups/elasticsearch.kr/
Download now