SlideShare a Scribd company logo
1 of 63
Download to read offline
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Elastic meetup #2
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Elastic Stack 5.0
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Data visualization
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Search,Analyze
Store,Index
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Data Ingestion
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Plug-ins
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Shield Marvel Watcher Graph Reporting
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
https://www.elastic.co/support/matrix
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
5.0
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/release-notes-5.0.0.html
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
$./bin/elasticsearch-plugin install x-pack
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
elastic
changeme
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
DELETE *
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Indexing performance
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
30%-80%
https://benchmarks.elastic.co
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
30%-80%
https://benchmarks.elastic.co
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Smaller size
https://benchmarks.elastic.co
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Ingest node
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Node Types ?
Master Query Data
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Before 5.0
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
5.0
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Ingest node
เป็นค่า default ของทุก node
node.ingest=false
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Painless scripting
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Before 5.0
Groovy script
Disable by default !!
https://www.elastic.co/community/security
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
5.0
Painless script
Enable by default
https://www.elastic.co/blog/painless-a-new-scripting-language
4x as fast as Groovy
Safe and secure
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Dot-in-fieldname !!
foo.bar
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Strings are dead !!
https://www.elastic.co/blog/strings-are-dead-long-live-strings
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Default mapping
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Aggregation !!
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Root cause !!
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Update mapping
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Aggregation
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Wait for refresh
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-refresh.html
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
How to use ?
PUT /db/table/1?refresh=true
https://www.elastic.co/guide/en/logstash/5.0/monitoring.html
PUT /db/table/1?refresh=false
PUT /db/table/1?refresh=wait_for
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Rollover Index API
https://www.elastic.co/blog/managing-time-based-indices-efficiently
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Use aliases
Alias
Index_001
Index_002
Index_003
Index_004
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Create index
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Create alias with RollOver
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Create new index
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Breaking changes !!
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking-changes-5.0.html
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
search_type=count !!
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
search_type=count !!
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Use size=0
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Remove query !!
Remove Use
filtered filter
and must in bool
or should in bool
missing exists
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Default similarity is BM25
Best Matching
https://en.wikipedia.org/wiki/Okapi_BM25
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
https://www.youtube.com/watch?v=v3Ko0CwgTZ0
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Client library
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
5.0
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
$./bin/kibana-plugin install x-pack
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Kibana
Plugins all the things
Export all the things
Status page
User management
Improve performance 20%
UI/UX
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
5.0
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
https://www.elastic.co/guide/en/logstash/5.0/introduction.html
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Pipeline
2.1
2.2
5.0
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Monitoring APIs
Node info
https://www.elastic.co/guide/en/logstash/5.0/monitoring.html
Node stats
Plugins info
Hot threads
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
Official Docker Images
Elasticsearch docker
Kibana docker
Logstash docker
https://github.com/elastic/
บริษัท สยาม๡ํานาญกิจ จํากัด และเพื่อนพ้องน้องพี่
somkiat.cc

More Related Content

Viewers also liked

Nursing Home Joke
Nursing Home JokeNursing Home Joke
Nursing Home Joke
Sojourner1
 
Ctel Module3 Sep07 1
Ctel Module3 Sep07 1Ctel Module3 Sep07 1
Ctel Module3 Sep07 1
mrounds5
 
Powerpoint Presentation On Animated Flipbook Ryan Mcginty Dd07064
Powerpoint Presentation On Animated Flipbook Ryan Mcginty Dd07064Powerpoint Presentation On Animated Flipbook Ryan Mcginty Dd07064
Powerpoint Presentation On Animated Flipbook Ryan Mcginty Dd07064
jaspang
 
Michelle M
Michelle MMichelle M
Michelle M
mrounds5
 

Viewers also liked (20)

If-If-If-If
If-If-If-IfIf-If-If-If
If-If-If-If
 
Design pattern with Java 8
Design pattern with Java 8Design pattern with Java 8
Design pattern with Java 8
 
Software Development Trends 2017 at IMC
Software Development Trends 2017 at IMCSoftware Development Trends 2017 at IMC
Software Development Trends 2017 at IMC
 
Amazing Macbook Slideshow
Amazing Macbook SlideshowAmazing Macbook Slideshow
Amazing Macbook Slideshow
 
Growfunding als hefboom voor sociaal-culturele praktijken in de stad - Freder...
Growfunding als hefboom voor sociaal-culturele praktijken in de stad - Freder...Growfunding als hefboom voor sociaal-culturele praktijken in de stad - Freder...
Growfunding als hefboom voor sociaal-culturele praktijken in de stad - Freder...
 
Minette's Snowman
Minette's SnowmanMinette's Snowman
Minette's Snowman
 
Nursing Home Joke
Nursing Home JokeNursing Home Joke
Nursing Home Joke
 
История европейского проекта MoReq2, и участия в нём российских специалистов
История европейского проекта MoReq2, и участия в нём российских специалистовИстория европейского проекта MoReq2, и участия в нём российских специалистов
История европейского проекта MoReq2, и участия в нём российских специалистов
 
Ctel Module3 Sep07 1
Ctel Module3 Sep07 1Ctel Module3 Sep07 1
Ctel Module3 Sep07 1
 
Powerpoint Presentation On Animated Flipbook Ryan Mcginty Dd07064
Powerpoint Presentation On Animated Flipbook Ryan Mcginty Dd07064Powerpoint Presentation On Animated Flipbook Ryan Mcginty Dd07064
Powerpoint Presentation On Animated Flipbook Ryan Mcginty Dd07064
 
Creative Europe - Samenwerkingsprojecten
Creative Europe - SamenwerkingsprojectenCreative Europe - Samenwerkingsprojecten
Creative Europe - Samenwerkingsprojecten
 
Why
WhyWhy
Why
 
Light-Cream
Light-CreamLight-Cream
Light-Cream
 
Jeopardy
JeopardyJeopardy
Jeopardy
 
Italy Trip 2
Italy Trip 2Italy Trip 2
Italy Trip 2
 
Michelle M
Michelle MMichelle M
Michelle M
 
Simone[1]
Simone[1]Simone[1]
Simone[1]
 
Mededeling eurcom
Mededeling eurcomMededeling eurcom
Mededeling eurcom
 
Jered
JeredJered
Jered
 
Cus D'Amato
Cus D'AmatoCus D'Amato
Cus D'Amato
 

More from Somkiat Puisungnoen

More from Somkiat Puisungnoen (20)

Next of Java 2022
Next of Java 2022Next of Java 2022
Next of Java 2022
 
Sck spring-reactive
Sck spring-reactiveSck spring-reactive
Sck spring-reactive
 
Part 2 :: Spring Boot testing
Part 2 :: Spring Boot testingPart 2 :: Spring Boot testing
Part 2 :: Spring Boot testing
 
vTalk#1 Microservices with Spring Boot
vTalk#1 Microservices with Spring BootvTalk#1 Microservices with Spring Boot
vTalk#1 Microservices with Spring Boot
 
Lesson learned from React native and Flutter
Lesson learned from React native and FlutterLesson learned from React native and Flutter
Lesson learned from React native and Flutter
 
devops
devops devops
devops
 
Angular :: basic tuning performance
Angular :: basic tuning performanceAngular :: basic tuning performance
Angular :: basic tuning performance
 
Shared code between projects
Shared code between projectsShared code between projects
Shared code between projects
 
Distributed Tracing
Distributed Tracing Distributed Tracing
Distributed Tracing
 
Manage data of service
Manage data of serviceManage data of service
Manage data of service
 
RobotFramework Meetup at Thailand #2
RobotFramework Meetup at Thailand #2RobotFramework Meetup at Thailand #2
RobotFramework Meetup at Thailand #2
 
Visual testing
Visual testingVisual testing
Visual testing
 
Cloud Native App
Cloud Native AppCloud Native App
Cloud Native App
 
Wordpress for Newbie
Wordpress for NewbieWordpress for Newbie
Wordpress for Newbie
 
Sck Agile in Real World
Sck Agile in Real WorldSck Agile in Real World
Sck Agile in Real World
 
Clean you code
Clean you codeClean you code
Clean you code
 
SCK Firestore at CNX
SCK Firestore at CNXSCK Firestore at CNX
SCK Firestore at CNX
 
The Beauty of BAD code
The Beauty of  BAD codeThe Beauty of  BAD code
The Beauty of BAD code
 
React in the right way
React in the right wayReact in the right way
React in the right way
 
Rise of Container (RoC)
Rise of Container (RoC)Rise of Container (RoC)
Rise of Container (RoC)
 

Meetup :: Update Elastic Stack 5.0