2. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
3. Getting acquainted - Who am I?
● Valentin Crettaz (mailto:valentin.crettaz@consulthys.com)
○ https://www.linkedin.com/in/valentincrettaz/
○ https://twitter.com/consulthys
● Developing Java software since 1996
● Fell in love with Elasticsearch in 2010 (v0.9.0)
○ https://www.elastic.co/blog/you-know-for-search
● Running Elasticsearch meetups in Switzerland since early 2016
○ https://www.meetup.com/fr-FR/elasticsearch-switzerland
● Active open-source contributor
○ https://github.com/consulthys
● Active Stack Overflow contributor
○ http://stackoverflow.com/users/4604579/val
4. Getting acquainted - Who are you?
● How many of you have already…
○ … heard of Elasticsearch?
○ … downloaded Elasticsearch?
○ … installed/run Elasticsearch?
○ … extended Elasticsearch?
● Your background?
● Define Elasticsearch with your own words
6. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
20. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
21. Elasticsearch
Elasticsearch is a distributed, RESTful search and analytics engine capable of
solving a growing number of use cases.
23. Features overview
● Distributed and scalable
● Resilient
● Fault tolerant
● High availability
● RESTful interface
● Document-oriented
● Schema free
● Multi-tenancy
● Extensible
● Growing and active community
● Query DSL
● Aggregations
● Full-text search (Lucene)
● Structured search
● Geo-spatial search
● Suggesters
● Highlighters
● Percolation
● Profiling
● Client libraries in 10+ languages
● ...
24. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
27. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
28. Installation (Vanilla) - https://elastic.co/downloads
1. Download and unzip (or yum/dpkg/msi it)
2. ./bin/elasticsearch
3. curl http://localhost:9200/
4. That’s all folks, now you can brag about it !
30. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
31. Running Official Docker Images (1/2)
docker run docker.elastic.co/elasticsearch/elasticsearch:6.4.1
docker run -e "node.name=es_node1"
docker.elastic.co/elasticsearch/elasticsearch:6.4.1
docker run -e "node.name=es_node1"
-e ES_JAVA_OPTS="-Xmx2g -Xms2g"
-e "cluster.name=my_es_cluster"
docker.elastic.co/elasticsearch/elasticsearch:6.4.1
...
38. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
39. Kibana on Docker (1/2)
docker run docker.elastic.co/kibana/kibana:6.4.1
docker run --rm -p 5601:5601 -e "ELASTICSEARCH_URL=http://es1:9200"
docker.elastic.co/kibana/kibana:6.4.1
docker run --rm -p 5601:5601 -e "ELASTICSEARCH_URL=http://es1:9200"
-e "SERVER_NAME=my-kibana"
docker.elastic.co/kibana/kibana:6.4.1
...
41. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
42. Logstash on Docker (1/2)
docker run docker.elastic.co/logstash/logstash:6.4.1
docker run --rm -p 9600:9600 -e "PIPELINE_WORKERS=3"
docker.elastic.co/logstash/logstash:6.4.1
docker run --rm -p 9600:9600 -e "PIPELINE_WORKERS=3"
-e "LOG_LEVEL=DEBUG"
docker.elastic.co/logstash/logstash:6.4.1
...
43. Logstash on Docker (2/2)
FROM docker.elastic.co/logstash/logstash:6.4.1
RUN rm -f /usr/share/logstash/pipeline/logstash.conf
ADD pipeline/ /usr/share/logstash/pipeline/
ADD config/ /usr/share/logstash/config/
EXPOSE 9600
44. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?
48. Tying it all together https://www.elastic.co/blog/a-full-stack-in-one-command
https://github.com/elastic/examples/tree/master/Miscellaneous/docker/full_stack_example
49. Agenda
● Getting acquainted
● Ecosystem
● Features overview
● What are we talking about?
● Installation
● ES on Docker
● Kibana on Docker
● Logstash on Docker
● Tying it all together
● What’s next?