Skip to content

V5.5 update slides #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: v5.5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ services:
volumes:
- "./logstash:/config-dir"
- "./data:/usr/local/share/data"
environment:
XPACK_MONITORING_ELASTICSEARCH_URL: "http://elastic1:9200"
command: ["logstash", "-f", "/config-dir/logstash.conf"]
ports:
- "3333:3333"
Expand Down
2 changes: 1 addition & 1 deletion download-sample-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

GZ_URLS="\
https://s3.amazonaws.com/elasticsearch-sample-data/enron_messages.jsonl.gz \
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz \
http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz \
"

NORMAL_URLS="\
Expand Down
2 changes: 1 addition & 1 deletion logstash/logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ filter {
geoip {
source => "remote_addr"
target => "geoip"
database =>"/usr/local/share/data/GeoLiteCity.dat"
database =>"/usr/local/share/data/GeoLite2-City.mmdb"
add_field => [ "[geoip][coordinates]", "%{[geoip][longitude]}" ]
add_field => [ "[geoip][coordinates]", "%{[geoip][latitude]}" ]
}
Expand Down
1 change: 1 addition & 0 deletions slides/Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ module.exports = (grunt) ->
kibanaUrl: process.env.KIBANA_URL || 'http://localhost:5601'
inquisitorUrl: process.env.INQUISITOR_URL || 'http://localhost:9400'
exercisesUrl: process.env.EXERCISES_URL || 'http://localhost:9500'
cerebroUrl: process.env.CEREBRO_URL || 'http://localhost:9000'
slides:
slides
section: (slide) ->
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/screenshots/cerebro-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed slides/images/screenshots/kopf-node-failure.png
Binary file not shown.
Binary file removed slides/images/screenshots/kopf-screenshot.png
Binary file not shown.
8 changes: 4 additions & 4 deletions slides/slides/advanced-querying.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
### Pagination

* Most cases use `size` and `from`
* [Simple Paging](sense://paging-and-sorting.sense#L4)
* [Simple Paging](console://paging-and-sorting.sense#L4)

* Option of using a cursor
* [Paging with a Scroll ID](sense://paging-and-sorting.sense#L41)
* [Paging with a Scroll ID](console://paging-and-sorting.sense#L41)

---

### Sorting - What you expect

* Sort most fields by ascending or descending

[Basic Sorting](sense://paging-and-sorting.sense#L72)
[Basic Sorting](console://paging-and-sorting.sense#L72)

---

Expand All @@ -25,4 +25,4 @@
* Tokenizers affect sorting as well
* Need to make sure you are sorting on the right field

[Sorting String Fields](sense://paging-and-sorting.sense#L131)
[Sorting String Fields](console://paging-and-sorting.sense#L131)
4 changes: 2 additions & 2 deletions slides/slides/es-is.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

### Highly Configurable

![Kopf Screenshot](images/screenshots/kopf-screenshot.png#screenshot)
![Cerebro Screenshot](images/screenshots/cerebro-screenshot.png#screenshot)

---

Expand All @@ -28,7 +28,7 @@

### Distributed and Fault Tolerant

![Node Failure](images/screenshots/kopf-node-failure.png#screenshot)
![Node Failure](images/screenshots/cerebro-node-failure.png#screenshot)

---

Expand Down
8 changes: 4 additions & 4 deletions slides/slides/indexing.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ curl -XPUT 'http://localhost:9200/wikipedia/location/1' -d '{
}'
```

[Basic Indexing](sense://indexing.sense)
[Basic Indexing](console://indexing.sense)

---

### Automatic Mappings

Elasticsearch will guess the mappings for new fields it hasn't seen before

[Automatic Mappings in Action](sense://indexing.sense#L15)
[Automatic Mappings in Action](console://indexing.sense#L15)

---

### Update API

You can also update a document via script or "upsert"

[Update Examples](sense://indexing.sense#L31)
[Update Examples](console://indexing.sense#L31)

---

### Bulk API

You can also add/remove/update documents in bulk using the Bulk API. This is recommended for batch updates

[Bulk API Examples](sense://indexing.sense#L66)
[Bulk API Examples](console://indexing.sense#L66)

---

Expand Down
2 changes: 1 addition & 1 deletion slides/slides/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@

This tutorial is free and open source.

http://github.com/Spantree/elasticsearch-talk
http://github.com/Spantree/elasticsearch-talk/tree/v5.5

We will jump out of the slide deck quite often.
4 changes: 2 additions & 2 deletions slides/slides/querying.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ curl -XPOST "http://localhost:9200/wikipedia/_search" -d '{

### Search Demos

[API Examples](sense://searching.sense)
[API Examples](console://searching.sense)

---

Expand Down Expand Up @@ -256,4 +256,4 @@ $s = coord \times \sum_{t} (qn \times boost \times idf) \times (tf \times idf \t

### Filtering Demos

[Filtering Examples](sense://searching.sense#L244)
[Filtering Examples](console://searching.sense#L244)
19 changes: 9 additions & 10 deletions slides/slides/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,29 @@

---

### Kopf
### Cerebro

* A simple web administration tool written in AngularJS.
* [Kopf](elasticsearch://_plugin/kopf/)
* A simple web administration tool written using Scala, Play Framework, AngularJS and Bootstrap.
* [Cerebro](cerebro://)

---

### Sense
### Console

* An IDE (with autocomplete) for running Elasticsearch queries against the REST API.

[Sense](sense://)
[Console](console://indexing.sense)

---

### More

* [Inquisitor](inquisitor://#/analyzers) - Explore how Elasticsearch processes strings
* [Marvel](kibana://app/marvel) - Monitor the health of your cluster
* [Kibana](kibana://app/kibana) - Visualize your logs
* [Monitoring](kibana://app/monitoring) - Monitor the health of your cluster
* [LogTrail](kibana://app/logtrail) - Visualize your logs

---

### API Examples

* Executed with Sense
* [Get Started with Sense](sense://getting-started.sense#L2)
* Executed with Console
* [Get Started with Console](console://getting-started.sense#L2)
4 changes: 2 additions & 2 deletions slides/templates/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
<script>
// Override links with these protocols to point to the appropriate services
window.mdProtocols = {
"sense://": "<%= kibanaUrl %>/app/sense?load_from=<%= exercisesUrl %>/",
"console://": "<%= kibanaUrl %>/app/kibana#/dev_tools/console?load_from=<%= exercisesUrl %>/",
"elasticsearch://": "<%= elasticsearchUrl %>/",
"kibana://": "<%= kibanaUrl %>/",
"inquisitor://": "<%= inquisitorUrl %>/"
"cerebro://": "<%= cerebroUrl %>/"
}

Reveal.initialize({
Expand Down