Slide 1

Slide 1 text

‹#› Kosho Owa, Solutions Architect, Elastic September 2016 Introducing Elastic Cloud The Official Hosted Elasticsearch & Kibana Offering on AWS

Slide 2

Slide 2 text

2 Elastic Cloud Security X-Pack Kibana User Interface Elasticsearch Store, Index,
 & Analyze Ingest Logstash Beats + Elastic Stack Introducing the Elastic Stack, X-Pack, and Cloud Alerting Monitoring Reporting Graph

Slide 3

Slide 3 text

Hosted Elasticsearch & Kibana on AWS • Elasticͷ੡඼܈ͱಉظͨ͠࠷৽൛ͷఏڙ • εέʔϧΞ΢τɾΞοϓάϨʔυΛϫϯΫϦοΫ Ͱ • ແྉͷKibanaΠϯελϯεͱ30෼͝ͱͷόοΫΞ οϓ • X-Packػೳ (Security, Alerting, Monitoring, Reporting) • ݄ʑ45USD͔Β • SLAϕʔεͷαϙʔτΦϓγϣϯ 3 Elastic Stackͷ։ൃऀʹΑΔ།Ұͷ ެࣜ Elasticsearch as a Service

Slide 4

Slide 4 text

Security - ҉߸ԽͱϩʔϧϕʔεͷΞΫηε੍ޚ • ElasticsearchͷΤϯυϙΠϯτ΁ͷ HTTPSΞΫηε • ID/PasswordʹΑΔϢʔβೝূ • KibanaͷϩάΠϯμΠΞϩά • ϩʔϧ͝ͱʹΠϯσοΫεɺAPI΁ͷ ΞΫηεΛ੍ݶ 4

Slide 5

Slide 5 text

Alerting - σʔλͷมԽΛ௨஌ • εέδϡʔϧɺΫΤϦʔɺൺֱɺΞΫγϣϯ • Elasticsearchͷ͢΂ͯͷΫΤϦʔͱΞάϦήʔγϣϯΛαϙʔτ • ෳ਺ͷιʔεΛ૊Έ߹Θͤ • ϝʔϧɺΠϯσοΫεɺϩάɺςΩετϝοηʔδɺ΢ΣϒϑοΫͳͲͷΞΫγϣ ϯ 5

Slide 6

Slide 6 text

Reporting - KibanaͷDashboardΛΤΫεϙʔτ • PDF΋͘͠͸CSVΛੜ੒ • खಈͰͷੜ੒ • Alertingͱͷ૊Έ߹ΘͤͰεέδϡʔ ϧɺ΋͘͠͸ಛఆͷΠϕϯτ͕ൃੜ ͨ͠৔߹ʹ࡞੒ • ඇKibanaϢʔβͱڞ༗ 6 Earthquake - Depth Timeseries Earthquake - Heatmap Earthquake — Sun, Jan 1, 2006 12:00 AM to Fri, Sep 2, 2016 5:54 AM

Slide 7

Slide 7 text

Graph - σʔλؒͷؔ܎ΛՄࢹԽ • Elasticsearchͷsearch΍relevancyͷ ػೳΛ࢖༻ͯ͠ʮҙຯͷ͋Δؔ܎ʯ Λൃݟ • طଘͷΠϯσοΫεΛར༻ • ϦΞϧλΠϜ͔ͭεέʔϥϒϧ 7

Slide 8

Slide 8 text

Monitoring - ΫϥελʔɺϊʔυɺΠϯσοΫεͷ؂ࢹ • ElasticsearchΫϥελʔɺϊʔυɺ ΠϯσοΫεͷϝτϦοΫΛϦΞϧ λΠϜͰ؂ࢹ • ӡ༻্ͷ܏޲Λ೺Ѳɺ໰୊Λൃݟ • ΩϟύγςΟϓϥχϯά • ΫϥελʔɺΞϓϦέʔγϣϯͷ࠷ దԽ 8

Slide 9

Slide 9 text

ΠϯελϯεαΠζݟੵ΋Γ࣌ͷݕ౼ཁૉ 9 υΩϡϝϯτݕࡧ ର৅υΩϡϝϯτ(αΠζ) Ϛοϐϯά (ݕࡧϑΟʔϧυ) औಘυΩϡϝϯτ਺ ୯Ґ࣌ؒ͋ͨΓͷݕࡧ਺ ಉ࣌઀ଓ਺ ϨΠςϯγʔ ϩάͷՄࢹԽ ϩάͷαΠζ อଘظؒ ୯Ґ࣌ؒ͋ͨΓͷ౤ೖϨίʔυ਺ Dashboardͷෳࡶ͞ KibanaϢʔβʔ਺

Slide 10

Slide 10 text

esperf - ύϑΥʔϚϯεςετπʔϧ https://github.com/kosho/esperf 10 esperf [-d dictionary_file] [-r recurrence] [-t threads] [-X method] [-u user:password] url -d dictionary_file: Newline delimited strings dictionary file -r recurrence: Number of recurrence HTTP requests per thread -t threads: Number of threads to generate, not always a big number gives more pressure -u user:password: Username and password for HTTP authentication -X: HTTP method to perform $ echo '{"query": {"term": {"first_name": {"value": "$RDICT"}}}}' | ./ esperf -r 1000 -t 3 -d ./names.txt "http://localhost:9200/_search?size=1"

Slide 11

Slide 11 text

‹#› $ echo '{"query": {"term": {"first_name": {"value": "$RDICT"}}}}' | ./esperf -t 10 -r 10000 -w 1 -d ./dict.txt localhost:9200/_search Timestamp Success Fail HTTP>400 Upload Download Response ------------------------ --------- --------- -------- -------- -------- -------- 2016-08-23T21:51:39+0900 3061 0 0 186 211 0.0032 2016-08-23T21:51:40+0900 3182 0 0 186 211 0.0031 2016-08-23T21:51:41+0900 3757 0 0 186 211 0.0026 ----------------------------------- Options ------------------------------------ Number of threads: 10 Number of recurrence: 10000 Interval (sec): 1 Warm-up (sec): 1 Timeout (sec): 0 Dictionary: ./dict.txt URL: localhost:9200/_search HTTP Method: GET Body: {"query": {"term": {"first_name": {"value": "$RDICT"}}}} ----------------------------------- Results ------------------------------------ Time after warm-up (sec): 2.00114 Number of success: 6946 Number of connection failure: 0 Number of HTTP response >400: 0 Average successful requests/sec: 3471 Upload throughput (byte/sec): 645610 Download throughput (byte/sec): 732470 Average time transfer (sec): 0.00281