Kibana 4
towards a beer
analytics engine
Christoffer Vig
works and blogs at Comperio Search, Norway
http://blog.comperiosearch.com
Tweets at
http://twitter.com/babadofar
Norwegian government owned alcohol
monopoly.
Sells beverages above 4,7 % alcohol
beer below 4,7% sold in grocery store
Open data
http://www.vinmonopolet.no
Kibana 4
Rebuild from Kibana 3
aggregations
built-in web server
plug-ins?
Vinmonopolet CSV file
CSV -> Elasticsearch
Logstash
Logstash config
Elasticsearch output
Demo time!
Discover
Visualize
Bitterness in beer
View details
Use cases
Boss is buying
Last call
Gourmand customer dinner
Foreign hipster visitors
...
Boss is buying
Last call
Price pr Alcohol unit
pricePrAlcohol
floor(doc['Literpris'].value/doc['Alkohol'].value)
pricePrAlcohol = Price pr 1 Alcohol unit
Gourmand
Belgian beer significant terms
Resources
vagrant ELK box
https://github.com/comperiosearch/vagrant-elk-
box
code for this talk
https://github.com/babadofar/bbuzz_code
… Thank you!

Kibana 4 - towards a beer analytics engine

Editor's Notes

  • #2 I am going to show how you can use Kibana 4 to create some cool visualizations. The visualizations will be done on top of open data from Norwegian Alcohol monopoly, Vinmonopolet or Wine monopoly, focusing on the beer part of their catalogue. The invention of bread and beer has been argued to be responsible for humanity's ability to develop technology and build civilization (wikipedia)
  • #3 Comperio search consultancy company.
  • #4 All beverages containing alchohol content higher than 4,75% is sold by Vinmonopolet. (max 60% ) Regulated opening hours High tax - taxed by alchol content queues at 1500 saturday, etc. vorspiel/nachspiel culture beer below 4,8% is sold in grocery stores. -20 -18 restaurants and pubs may have othre products not sold a t vinmonopolet. (so the list does not include all alcholho availble in Norway)
  • #5 visualization and discovery rewritten to support new features of elasticsearch, aggregations
  • #6 vinmonopolet product listing - look at all the nice metadat color freshness bitterness fullness depth
  • #8 Elasticsearch is a search engine. period. no crawler , connector. put data into it with JSON REST API
  • #9 iconv - fix encoding of file csv columns drop first line fix decimal convert fields to float output to elasticsearhc template
  • #10 simple search listing
  • #11 Vagrant -elk box at github Use of discovery tab questions on next slide
  • #12 Discover tab search and filter Select fields Sort by fields save searches URL? sELECT Varetype: Øl . add Filter Search for Stout select Bitterhet - show field stats - Visualize
  • #13 Top 20 bitterness X- AXIS - BITTERNESS NUMBERS Y AXIS - COUNT OF PRODUCTS WITH THIS BITTERNESS QUERY - STOUT
  • #15 add sig terms???
  • #16  going to show some use cases
  • #17 add number of countries add Varetype Add alcohol range
  • #20 Top 8 unusual terms in lukt_smak brødbakst syrlig balsamico gjær rosin anslag kirsebær eik