-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
754 lines (617 loc) · 24.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>A Short Tour of the Elastic Stack</title>
<meta name="author" content="(Tyler Langlois)"/>
<style type="text/css">
.underline { text-decoration: underline; }
</style>
<link rel="stylesheet" href="reveal.js-3.6.0/css/reveal.css"/>
<link rel="stylesheet" href="reveal.js-3.6.0/css/theme/black.css" id="theme"/>
<link rel="stylesheet" href="custom.css"/>
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'reveal.js-3.6.0/css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section id="sec-title-slide"><h1>A Short Tour of the Elastic Stack</h1><h4>Tyler Langlois</h4><h4>Software Engineer @ Elastic</h4><h6>2 August, 2018</h6>
</section>
<section>
<section id="slide-org5e26e27">
<h2 id="org5e26e27"><code>whoami</code></h2>
<ul>
<li>Devops/software engineering at Elastic</li>
<li>Been tinkering on Elasticsearch since 0.17</li>
<li><p>
Would love to talk to you about ARM, birdwatching, tech in Boise, and my dog Morty
</p>
<aside class="notes">
<ul>
<li>Ask about people's familiarity?</li>
</ul>
</aside></li>
</ul>
</section>
<section >
<p>
I also collect GIFs, send me your high-quality links pls
<img src="images/shaq.gif" alt="shaq.gif" />
</p>
</section>
</section>
<section>
<section id="slide-orga0a5ec6">
<h2 id="orga0a5ec6">Overview</h2>
<ul>
<li><a href="#/slide-org2c9a682">5,000-foot view</a></li>
<li><img src="images/es.png" alt="es.png" /> <a href="#/slide-orgdcc767f">Elasticsearch</a></li>
<li><img src="images/ls.png" alt="ls.png" /> <a href="#/slide-orgfc6f352">Logstash</a></li>
<li><img src="images/kb.png" alt="kb.png" /> <a href="#/slide-orgeba6bdd">Kibana</a></li>
<li><img src="images/beats.png" alt="beats.png" /> <a href="#/slide-org53ea872">Beats</a></li>
<li><a href="#/slide-org1deb7ba">Real-world Applications & Take-aways</a></li>
<li><a href="#/slide-orgcc811c9">Q&A</a></li>
</ul>
</section>
</section>
<section>
<section id="slide-org2c9a682">
<h2 id="org2c9a682">The Elastic Stack</h2>
<p>
What is it?
</p>
</section>
<section >
<div class="figure">
<p><img src="images/stack-diagram.png" alt="stack-diagram.png" />
</p>
</div>
<aside class="notes">
<p>
Also note that these are the OSS and free parts - there are now <i>many</i> other features to the stack like APM, machine learning, a hosted solution, and so on.
Libraries for interacting with Elasticsearch are available for pretty much any language.
</p>
</aside>
</section>
<section >
<ul>
<li>The open source software stack that brings data into Elasticsearch and turns that data into useful information (open core, some features behind paid licensing)</li>
<li>The software I'll talk about is what we put out to the community, but <i>many</i> other third-party integrations are out there</li>
</ul>
</section>
<section id="slide-orgec57156">
<h3 id="orgec57156">Components</h3>
<ul>
<li class="fragment appear">Elasticsearch <img src="images/es.png" alt="es.png" />
<ul>
<li>Data store, distributed, REST API</li>
</ul></li>
<li class="fragment appear">Logstash <img src="images/ls.png" alt="ls.png" />
<ul>
<li>Swiss-army-knife with plugins for all types of data munging</li>
</ul></li>
<li class="fragment appear">Kibana <img src="images/kb.png" alt="kb.png" />
<ul>
<li>Browser-based frontend to turn data in Elasticsearch into useful visualizations</li>
</ul></li>
<li class="fragment appear">Beats <img src="images/beats.png" alt="beats.png" />
<ul>
<li>Specialized agents that serve a single purpose (more on that later)</li>
</ul></li>
</ul>
</section>
</section>
<section>
<section id="slide-orgdcc767f">
<h2 id="orgdcc767f">Elasticsearch</h2>
<ul>
<li>REST-ful API</li>
<li>Distributed nature, both for high availability and performance</li>
<li>OSS Java project on GitHub, feel free to contribute!</li>
</ul>
</section>
<section id="slide-org9248d3a">
<h3 id="org9248d3a">What does it look like?</h3>
<div class="org-src-container">
<pre class="src src-es"><span style="color: #4f97d7;">GET</span> <span style="color: #7590db;">/</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-es"><span style="color: #4f97d7;">{</span>
<span style="color: #2d9574;">"name"</span> : <span style="color: #2d9574;">"master-0"</span>,
<span style="color: #2d9574;">"cluster_name"</span> : <span style="color: #2d9574;">"global-elasticsearch"</span>,
<span style="color: #2d9574;">"cluster_uuid"</span> : <span style="color: #2d9574;">"L8UMCuJrSsCBjz1tc_38vw"</span>,
<span style="color: #2d9574;">"</span><span style="color: #4f97d7; font-weight: bold;">version</span><span style="color: #2d9574;">"</span> : <span style="color: #bc6ec5;">{</span>
<span style="color: #2d9574;">"number"</span> : <span style="color: #2d9574;">"6.2.3"</span>,
<span style="color: #2d9574;">"build_hash"</span> : <span style="color: #2d9574;">"c59ff00"</span>,
<span style="color: #2d9574;">"build_date"</span> : <span style="color: #2d9574;">"2018-03-13T10:06:29.741383Z"</span>,
<span style="color: #2d9574;">"build_snapshot"</span> : <span style="color: #a45bad;">false</span>,
<span style="color: #2d9574;">"lucene_version"</span> : <span style="color: #2d9574;">"7.2.1"</span>,
<span style="color: #2d9574;">"minimum_wire_compatibility_version"</span> : <span style="color: #2d9574;">"5.6.0"</span>,
<span style="color: #2d9574;">"minimum_index_compatibility_version"</span> : <span style="color: #2d9574;">"5.0.0"</span>
<span style="color: #bc6ec5;">}</span>,
<span style="color: #2d9574;">"tagline"</span> : <span style="color: #2d9574;">"You Know, for Search"</span>
<span style="color: #4f97d7;">}</span>
</pre>
</div>
<aside class="notes">
<p>
This is a real cluster that I run at home, ran this last week
</p>
</aside>
</section>
<section id="slide-org86c14d2">
<h3 id="org86c14d2">Query Example</h3>
<p>
Q: "How many DNS requests have I sent in the last 10 minutes?"
</p>
<div class="org-src-container">
<pre class="src src-es"><span style="color: #4f97d7;">GET</span> <span style="color: #7590db;">_search</span>
<span style="color: #4f97d7;">{</span>
<span style="color: #2d9574;">"</span><span style="color: #4f97d7; font-weight: bold;">size</span><span style="color: #2d9574;">"</span>: <span style="color: #a45bad;">0</span>,
<span style="color: #2d9574;">"</span><span style="color: #a45bad;">query</span><span style="color: #2d9574;">"</span>: <span style="color: #bc6ec5;">{</span>
<span style="color: #2d9574;">"</span><span style="color: #ce537a; font-weight: bold;">bool</span><span style="color: #2d9574;">"</span>: <span style="color: #2d9574;">{</span>
<span style="color: #2d9574;">"must"</span>: <span style="color: #67b11d;">[</span>
<span style="color: #b1951d;">{</span><span style="color: #2d9574;">"</span><span style="color: #bc6ec5; font-weight: bold;">range</span><span style="color: #2d9574;">"</span>: <span style="color: #4f97d7;">{</span><span style="color: #2d9574;">"@timestamp"</span>: <span style="color: #bc6ec5;">{</span><span style="color: #2d9574;">"gte"</span>: <span style="color: #2d9574;">"now-10m"</span><span style="color: #bc6ec5;">}</span><span style="color: #4f97d7;">}</span><span style="color: #b1951d;">}</span>,
<span style="color: #b1951d;">{</span><span style="color: #2d9574;">"</span><span style="color: #bc6ec5; font-weight: bold;">term</span><span style="color: #2d9574;">"</span>: <span style="color: #4f97d7;">{</span><span style="color: #2d9574;">"netflow.dst_port"</span>: <span style="color: #a45bad;">53</span><span style="color: #4f97d7;">}</span><span style="color: #b1951d;">}</span>,
<span style="color: #b1951d;">{</span><span style="color: #2d9574;">"</span><span style="color: #bc6ec5; font-weight: bold;">term</span><span style="color: #2d9574;">"</span>: <span style="color: #4f97d7;">{</span><span style="color: #2d9574;">"netflow.src_addr"</span>: <span style="color: #2d9574;">"192.168.1.183"</span><span style="color: #4f97d7;">}</span><span style="color: #b1951d;">}</span>
<span style="color: #67b11d;">]</span>
<span style="color: #2d9574;">}</span>
<span style="color: #bc6ec5;">}</span>
<span style="color: #4f97d7;">}</span>
</pre>
</div>
<aside class="notes">
<p>
This is a query that uses data from the logstash Netflow module to query a date range, port numerical field, and IP address field
</p>
</aside>
</section>
<section >
<div class="org-src-container">
<pre class="src src-es"><span style="color: #4f97d7;">{</span>
<span style="color: #2d9574;">"took"</span> : <span style="color: #a45bad;">80</span>,
<span style="color: #2d9574;">"timed_out"</span> : <span style="color: #a45bad;">false</span>,
<span style="color: #2d9574;">"_shards"</span> : <span style="color: #bc6ec5;">{</span>
<span style="color: #2d9574;">"total"</span> : <span style="color: #a45bad;">20</span>,
<span style="color: #2d9574;">"successful"</span> : <span style="color: #a45bad;">20</span>,
<span style="color: #2d9574;">"skipped"</span> : <span style="color: #a45bad;">0</span>,
<span style="color: #2d9574;">"failed"</span> : <span style="color: #a45bad;">0</span>
<span style="color: #bc6ec5;">}</span>,
<span style="color: #2d9574;">"hits"</span> : <span style="color: #bc6ec5;">{</span>
<span style="color: #2d9574;">"total"</span> : <span style="color: #a45bad;">123</span>,
<span style="color: #2d9574;">"max_score"</span> : <span style="color: #a45bad;">0</span>.<span style="color: #a45bad;">0</span>,
<span style="color: #2d9574;">"hits"</span> : <span style="color: #2d9574;">[</span> <span style="color: #2d9574;">]</span>
<span style="color: #bc6ec5;">}</span>
<span style="color: #4f97d7;">}</span>
</pre>
</div>
<p>
A: 123
</p>
<p>
(These examples are taken from the <a href="https://www.elastic.co/guide/en/logstash/current/netflow-module.html">logstash netflow module</a>)
</p>
<aside class="notes">
<p>
Actual response based on netflow data coming out of my home router.
</p>
</aside>
</section>
<section id="slide-org88a3cd3">
<h3 id="org88a3cd3">Architecture</h3>
<p>
Simple node architecture (what I run at home)
</p>
<div class="figure">
<p><img src="node-diagram.png" alt="node-diagram.png" />
</p>
</div>
<aside class="notes">
<p>
Elasticsearch uses a in-house consensus algorithm called Zen, and it's generally a little easier to wrangle than something like Zookeeper, as long as you take the necessary steps to run it safely (with a quorum of master nodes, etc.)
</p>
<p>
You're mostly limited by hardware, as people have scaled out Elasticsearch to lots of nodes to accommodate lots of data and heavy workloads.
</p>
</aside>
</section>
<section id="slide-orgc50db2d">
<h3 id="orgc50db2d">Use Cases</h3>
<ul>
<li class="fragment appear">Search
<ul>
<li>Freetext, suggestions, synonyms, languages, etc.</li>
</ul></li>
<li class="fragment appear">Logging
<ul>
<li>Modern Elasticsearch can accept your logs in any form and parse in-cluster</li>
<li>Field data types make for powerful searching (CIDR notation for IPs, average/percentile for duration/latencies)</li>
</ul></li>
</ul>
</section>
<section id="slide-org1197beb">
<h3 id="org1197beb">Use Cases (cont'd)</h3>
<ul>
<li>Metrics
<ul>
<li>Metricbeat + Elasticsearch for host-level monitoring</li>
<li>We use this internally to monitor latency and performance for public-facing services</li>
</ul></li>
</ul>
</section>
<section id="slide-org0f7d8da">
<h3 id="org0f7d8da"><a href="https://www.elastic.co/products/beats/heartbeat">Heartbeat</a> Monitoring</h3>
<div class="figure">
<p><img src="images/heartbeat.png" alt="heartbeat.png" />
</p>
</div>
<aside class="notes">
<p>
This is an actual screenshot of our monitoring for the service that provides downloads of all our products (whenever you download a zip or tarball of Elasticsearch, Kibana, etc.)
</p>
</aside>
</section>
<section id="slide-orgca93c4f">
<h3 id="orgca93c4f">Interested?</h3>
<ul>
<li>Can you use it?
<ul>
<li>If you've got data in JSON form, you can use Elasticsearch</li>
<li>Unless you're coding in assembly or Fortran, there's probably a library for you</li>
</ul></li>
</ul>
<ul>
<li class="fragment appear">(I originally wrote "erlang", but nope, <a href="https://github.com/tsloughter/erlastic_search">it exists</a>)</li>
</ul>
</section>
<section id="slide-org2b0702e">
<h3 id="org2b0702e">Interested?</h3>
<ul>
<li>Where will it shine?
<ul>
<li>"Where can we collect and centralize logs for analytics?"</li>
<li>"What sits behind the search box on our web site?"</li>
<li>"How do we make this raw text and metric data useful?"</li>
</ul></li>
</ul>
</section>
</section>
<section>
<section id="slide-orgfc6f352">
<h2 id="orgfc6f352">Logstash</h2>
<ul>
<li>Generic tool for collecting, transforming, and loading data</li>
<li>Strength lies in its flexibility and suite of plugins and modules</li>
<li><i>Not</i> Elasticsearch-specific, can load data into a variety of sinks</li>
</ul>
</section>
<section id="slide-org3bf2cff">
<h3 id="org3bf2cff">Example Configuration File</h3>
<div class="org-src-container">
<pre class="src src-conf"><span style="color: #ce537a; font-weight: bold;">input</span> {
<span style="color: #ce537a; font-weight: bold;">stdin</span> {
}
}
<span style="color: #2aa1ae; background-color: #292e34;"># </span><span style="color: #2aa1ae; background-color: #292e34;">Your plugins go here</span>
<span style="color: #ce537a; font-weight: bold;">output</span> {
<span style="color: #ce537a; font-weight: bold;">stdout</span> {
<span style="color: #7590db;">codec</span> => rubydebug
}
}
</pre>
</div>
</section>
<section id="slide-org5863486">
<h3 id="org5863486">Output</h3>
<div class="org-src-container">
<pre class="src src-json">Hello, world!
<span style="color: #4f97d7;">{</span>
<span style="color: #2d9574;">"@version"</span> => "<span style="color: #a45bad;">1</span>",
<span style="color: #2d9574;">"message"</span> => <span style="color: #2d9574;">"Hello, world!"</span>,
<span style="color: #2d9574;">"@timestamp"</span> => <span style="color: #a45bad;">2018</span>-<span style="color: #a45bad;">07</span>-<span style="color: #a45bad;">13T21</span>:<span style="color: #a45bad;">20</span>:<span style="color: #a45bad;">15</span>.<span style="color: #a45bad;">206Z</span>,
<span style="color: #2d9574;">"host"</span> => <span style="color: #2d9574;">"tylasticsearch.lan.tyjl.org"</span>
<span style="color: #4f97d7;">}</span>
</pre>
</div>
</section>
<section id="slide-org429a11c">
<h3 id="org429a11c">It's about the plugins</h3>
<p>
Designed to be easily extensible and flexible
</p>
<p>
Plugins exist for:
</p>
<ul>
<li class="fragment appear">Typical machine data (logs, metrics, commands, etc)</li>
<li class="fragment appear">Data transformation (GeoIP lookups, sentiment analysis, parsing, etc.)</li>
<li class="fragment appear">Ingestion of all kinds:
<ul>
<li>Social media (twitter, reddit, rss, …)</li>
<li>Other systems (beats, kafka, JDBC, etc.)</li>
</ul></li>
</ul>
</section>
<section id="slide-orgd5c4ea5">
<h3 id="orgd5c4ea5">Extensibility</h3>
<ul>
<li>I wrote a <a href="https://github.com/tylerjl/logstash-filter-sentimentalizer">sentiment analysis plugin</a> for social media that took part of a Saturday to write, it's easy!</li>
</ul>
</section>
<section >
<div class="figure">
<p><img src="images/sentimentalizer.gif" alt="sentimentalizer.gif" />
</p>
</div>
</section>
<section >
<ul>
<li><p>
You can munge data pretty much any way with filters
</p>
<aside class="notes">
<p>
Filters like GeoIP, parsing dates, lookups in JDBC, etc.
</p>
</aside></li>
</ul>
</section>
</section>
<section>
<section id="slide-org53ea872">
<h2 id="org53ea872">Beats</h2>
<ul>
<li class="fragment appear">Single-purpose-built, highly focused tools designed for ease and speed</li>
</ul>
<ul>
<li class="fragment appear">Most tools take one form of input (file, metrics, API, etc.) and ship to Elasticsearch</li>
</ul>
</section>
<section >
<p>
There are <i>many</i> different types of Beats, here are a few:
</p>
</section>
<section id="slide-orgeac591d">
<h3 id="orgeac591d">Filebeat</h3>
<ul>
<li>Tail any sort of file, minor parsing/processing, and ship to Elasticsearch/Logstash/Kafka/Redis/etc.</li>
<li>Common use case is collecting webserver logs for later analysis in Kibana</li>
<li>Handles file position, backpressure, etc.</li>
</ul>
</section>
<section id="slide-org9d047f3">
<h3 id="org9d047f3">Metricbeat</h3>
<ul>
<li>Collects various types of system-level metrics</li>
<li>CPU load, memory use, network activity, disk input/output, and so on</li>
<li>We dogfood this heavily and use it every day (alerts for disk, etc.)</li>
</ul>
</section>
<section id="slide-org2a6cb10">
<h3 id="org2a6cb10">Aside: Metrics</h3>
<p>
Elasticsearch is a <i>document</i> store, but you can query metrics? (!textual data)
</p>
</section>
<section >
<p>
It's true Elasticsearch excels at freetext search (wildcards, autocomplete, aggregations, etc.)
</p>
<p class="fragment (appear)">
Lucene (the underlying library) <i>also</i> supports data types other than textual
</p>
<ul>
<li class="fragment appear">Numeric (to perform averages, max values, sum all fields, etc.)</li>
<li class="fragment appear">GeoIP data types (longitude/latitude) that can be easily used in Kibana to chart maps</li>
<li class="fragment appear">Even IP ranges are native to support search for CIDR ranges (I do this at home)</li>
</ul>
</section>
<section id="slide-orgf37075f">
<h3 id="orgf37075f">Winlogbeat</h3>
<p>
I don't use Windows, but I hear it's good?
</p>
</section>
<section id="slide-org05a17a1">
<h3 id="org05a17a1">Heartbeat</h3>
<ul>
<li class="fragment appear">It's like a build-your-own web site monitoring system (I'm a fan)</li>
<li class="fragment appear">Watch a site, collect response time/uptime metrics, and dashboard/alert on uptime</li>
</ul>
</section>
<section id="slide-org0eea916">
<h4 id="org0eea916">Config File</h4>
<div class="org-src-container">
<pre class="src src-yaml"><span style="color: #7590db;">heartbeat.monitors</span>:
- <span style="color: #7590db;">type</span>: http
<span style="color: #7590db;">schedule</span>: <span style="color: #2d9574;">'@every 5s'</span>
<span style="color: #7590db;">urls</span>: [<span style="color: #2d9574;">"https://tjll.net"</span>]
<span style="color: #7590db;">check.response.status</span>: 200
</pre>
</div>
</section>
<section id="slide-org4c1b66a">
<h4 id="org4c1b66a">Dashboard</h4>
<div class="figure">
<p><img src="images/heartbeat-example.jpg" alt="heartbeat-example.jpg" />
</p>
</div>
</section>
<section id="slide-orgd8bec56">
<h3 id="orgd8bec56">Modules</h3>
<ul>
<li>Take Beats one step further by pre-loading all the requisite parsing steps, file paths, and necessary configs</li>
<li>Also available for Logstash</li>
</ul>
</section>
<section id="slide-orgf56e3d2">
<h4 id="orgf56e3d2">Filebeat: <a href="https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-apache2.html">Apache2 Module</a></h4>
<p>
The <code>apache2</code> Filebeat module already knows what files to watch, what regex to use, and how to enrich web logs with GeoIP data and more.
</p>
<div class="org-src-container">
<pre class="src src-yaml">- <span style="color: #7590db;">module</span>: apache2
<span style="color: #7590db;">access</span>:
<span style="color: #7590db;">enabled</span>: <span style="color: #a45bad;">true</span>
</pre>
</div>
</section>
<section id="slide-orgfa95065">
<h4 id="orgfa95065">Metricbeat: <a href="https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-docker.html">Docker Module</a></h4>
<p>
Capture all sorts of metrics for all containers automatically
</p>
<div class="org-src-container">
<pre class="src src-yaml"><span style="color: #7590db;">metricbeat.modules</span>:
- <span style="color: #7590db;">module</span>: docker
<span style="color: #7590db;">metricsets</span>:
- <span style="color: #2d9574;">"container"</span>
- <span style="color: #2d9574;">"cpu"</span>
- <span style="color: #2d9574;">"memory"</span>
<span style="color: #7590db;">hosts</span>: [<span style="color: #2d9574;">"unix:///var/run/docker.sock"</span>]
<span style="color: #7590db;">period</span>: 10s
<span style="color: #7590db;">enabled</span>: <span style="color: #a45bad;">true</span>
</pre>
</div>
</section>
</section>
<section>
<section id="slide-orgeba6bdd">
<h2 id="orgeba6bdd">Kibana</h2>
<p class="fragment (appear)">
Turns the data inside Elasticsearch into an easily used form.
</p>
<p class="fragment (appear)">
Dashboards and visualizations - tables, line charts, heat maps, geographical maps, histograms, and more.
</p>
</section>
<section id="slide-org064f445">
<h3 id="org064f445">Operational Details</h3>
<ul>
<li>Stateless - dashboards are stored with Elasticsearch itself.</li>
<li>Node project, plugins and extra visualization types are built as components</li>
</ul>
</section>
<section id="slide-orgf907e7c">
<h3 id="orgf907e7c">What does it look like?</h3>
<div class="outline-text-3" id="text-orgf907e7c">
</div>
</section>
<section id="slide-org89ab2fb">
<h4 id="org89ab2fb"><a href="https://www.elastic.co/products/beats/metricbeat">Metricbeat</a></h4>
<div class="figure">
<p><img src="images/metricbeat.png" alt="metricbeat.png" />
</p>
</div>
</section>
<section id="slide-org27c1f69">
<h4 id="org27c1f69">Web logs</h4>
<div class="figure">
<p><img src="images/weblogs.png" alt="weblogs.png" />
</p>
</div>
</section>
<section id="slide-org500f047">
<h4 id="org500f047"><a href="https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-kubernetes.html">Kubernetes</a> statistics</h4>
<div class="figure">
<p><img src="images/kubernetes.png" alt="kubernetes.png" />
</p>
</div>
</section>
</section>
<section>
<section id="slide-org1deb7ba">
<h2 id="org1deb7ba">Story Time</h2>
<div class="outline-text-2" id="text-org1deb7ba">
</div>
</section>
<section id="slide-orgecde689">
<h3 id="orgecde689">Social Media Data</h3>
<div class="figure">
<p><img src="images/devrel-dashboard.png" alt="devrel-dashboard.png" />
</p>
</div>
</section>
<section id="slide-orgbd3bd5b">
<h3 id="orgbd3bd5b">Netflow</h3>
<div class="figure">
<p><img src="images/netflow-dashboard.png" alt="netflow-dashboard.png" />
</p>
</div>
</section>
<section id="slide-orgdf31ff1">
<h3 id="orgdf31ff1">Netflow</h3>
<div class="figure">
<p><img src="images/netflow-gauge.png" alt="netflow-gauge.png" />
</p>
</div>
</section>
<section id="slide-orgbe94ff9">
<h3 id="orgbe94ff9">Host Monitoring</h3>
<div class="figure">
<p><img src="images/disk-alert.png" alt="disk-alert.png" />
</p>
</div>
</section>
</section>
<section>
<section id="slide-orgcc811c9">
<h2 id="orgcc811c9">Q&A</h2>
<ul>
<li>Helpful links:
<ul>
<li><a href="https://www.elastic.co/guide/index.html">Get started with docs</a></li>
<li><a href="https://www.elastic.co/products">More introductory material and downloads</a></li>
<li><a href="https://www.docker.elastic.co/">Try it <i>right now</i> in Docker</a></li>
</ul></li>
<li>Get some stickers to ruin your laptop with</li>
<li>Questions?</li>
</ul>
</section>
</section>
</div>
</div>
<script src="reveal.js-3.6.0/lib/js/head.min.js"></script>
<script src="reveal.js-3.6.0/js/reveal.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: false,
center: true,
slideNumber: 'c',
rollingLinks: false,
keyboard: true,
overview: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'slide', // default/cube/page/concave/zoom/linear/fade/none
transitionSpeed: 'default',
multiplex: {
secret: null, // null if client
id: '6394e479d7800af4', // id, obtained from socket.io server
url: 'https://reveal-js-multiplex-ccjbegmaii.now.sh:443' // Location of socket.io server
},
// Optional libraries used to extend on reveal.js
dependencies: [
,
{ src: 'reveal.js-3.6.0/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
,
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.5/socket.io.min.js', async: true },
{ src: 'reveal.js-3.6.0/plugin/multiplex/client.js', async: true }]
});
</script>
</body>
</html>