Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Graph Deep Dive

Graph Deep Dive

【Developers.IO 特別編】Elastic 勉強会 プレゼンテーションデッキ
Elasticsearch 2.3, Kibana 4.5 で導入された Graph のユースケース、利点を紹介します。

Kosho Owa

April 12, 2016
Tweet

More Decks by Kosho Owa

Other Decks in Technology

Transcript

  1. Elastic Cloud Security Monitoring Alerting Graph X-Pack Kibana User Interface

    Elasticsearch Store, Index,
 & Analyze Ingest Logstash Beats + Elastic Stack, X-Pack, Cloud and Graph Elastic Stack
  2. { "title": "Elastic{ON} Recap Seminar", "date": "2016-04-12", "venue": "SAP Japan",

    "location": “35.6845063, 139.7397771", "organizer": ["Classmethod", "Elastic"], "capacity": 200, "confirmed": true, "created_at": "2016-03-01T01:01:01.000Z” } σʔλ͸ϑϥοτͰ͸ͳ͍ ༷ʑͳσʔλλΠϓͱߏ଄
  3. σʔλؒͷؔ࿈ ಉ͡өը͕޷͖ͳϖΞΛݟ͚ͭΔͷ͸ࠎ͕ંΕΔ { "name": “John Stiles", "birthday": "1976-08-07", “favorite_movies”: [“star

    wars”, “anchorman”, “dodge ball”] } { "name": “Richard Roe", "birthday": "1982-11-21", “favorite_movies”: [“forrest gump”, “talladega nights”, “anchorman”] }
  4. GET apache-2015.09/_search { "size": 0, "query": { "filtered": { "query":

    { "query_string": { "query": "response:304" }}}}, "aggs": { "2": { "significant_terms": { "field": "geoip.ip.raw", "size": 5 }}}} “Significant Term” Aggregation Apacheͷϩά͔Β߈ܸݩΛಛఆ͢Δ
  5. GET apache-2015.09/_graph/explore { "controls": { "use_significance": true }, "vertices": [{

    "field": "response", "include": [ { "term": “304" }]}], "connections": { "vertices": [ { "field": “geoip.country_name.raw”, "size": 5 }]}} `_graph` API ߈ܸͷιʔεʹͳ͍ͬͯΔࠃΛಛఆ͢Δ