Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?*...

31
Copyright © 2014 Splunk Inc. Cody Harris SE Manager Splunking iBeacon (BLE) for Profit and Pleasure Stefan Sievert Client Architect

Transcript of Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?*...

Page 1: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Copyright  ©  2014  Splunk  Inc.  

Cody  Harris  SE  Manager      

Splunking  iBeacon  (BLE)  for  Profit  and  Pleasure    

Stefan  Sievert  Client  Architect      

Page 2: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Disclaimer  

2  

During  the  course  of  this  presentaJon,  we  may  make  forward  looking  statements  regarding  future  events  or  the  expected  performance  of  the  company.  We  cauJon  you  that  such  statements  reflect  our  current  expectaJons  and  

esJmates  based  on  factors  currently  known  to  us  and  that  actual  events  or  results  could  differ  materially.  For  important  factors  that  may  cause  actual  results  to  differ  from  those  contained  in  our  forward-­‐looking  statements,  

please  review  our  filings  with  the  SEC.  The  forward-­‐looking  statements  made  in  the  this  presentaJon  are  being  made  as  of  the  Jme  and  date  of  its  live  presentaJon.  If  reviewed  aUer  its  live  presentaJon,  this  presentaJon  may  not  contain  current  or  accurate  informaJon.  We  do  not  assume  any  obligaJon  to  update  any  forward  looking  statements  we  may  make.  In  addiJon,  any  informaJon  about  our  roadmap  outlines  our  general  product  direcJon  and  is  subject  to  change  at  any  Jme  without  noJce.  It  is  for  informaJonal  purposes  only  and  shall  not,  be  incorporated  into  any  contract  or  other  commitment.  Splunk  undertakes  no  obligaJon  either  to  develop  the  features  or  funcJonality  described  or  to  

include  any  such  feature  or  funcJonality  in  a  future  release.  

Page 3: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Agenda  

!   What  is  iBeacon/Bluetooth  Low  Energy  (BLE)?  ! iBeacon  in  acJon  !   What  is  it  good  for?  And  what  is  it  not  good  for?    !   Technology  deep-­‐dive  !   Best  pracJces  for  collecJng  beacon  data  using  Splunk>  !   Live  demo  and  architecture  overview  !   Real  world  use  cases  !   Q&A  

 

3  

Page 4: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

What  is  an  iBeacon  a.k.a.  Bluetooth  Low  Energy  (BLE)?  

Page 5: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

What  is  iBeacon/Bluetooth  Low  Energy  (BLE)?  

5  

iBeacon  =  technology  created  by  Apple  to  improve  locaJon  service  for  mobile  devices.    •  The  beacons  themselves  are  usually  

small  wireless  devices  that  broadcast  radio  signals  at  2.4  Ghz.    

•  BLE  is  a  light-­‐weight  subset  of  classic  Bluetooth®  and  was  introduced  as  part  of  the  Bluetooth®  4.0  core  specificaJon.  

•  Newer  smartphones  listen  for  BLE  signals  and  can  take  programmable  acJon  when  they  get  within  range  of  one  or  more  beacons.    

Screenshot  here  

Image  Source:  hep://blog.nerdery.com  

Page 6: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

EsJmote  Beacon  (One  of  many  commercial  BLE  Beacons  available)  

6  

Page 7: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

BLE  Plahorm  Support  

7  

Bluetooth  Low  Energy  (which  is  a  subset  of  BT  4.0)  is  available  on  most  major  plahorms:  

•  iOS5+  (iOS7+  preferred)  •  Android  4.3+  (bug  fixes  in  4.4+)  •  Apple  OS  X  10.6+  •  Windows  8  (XP,  Vista,  and  7  only  

support  Bluetooth  2.1)  •  GNU/Linux  Vanilla  BlueZ  4.93+  

Page 8: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Sounds  Great.  Tell  Me  More.  

!   BLE  really  is  low  energy  !   BLE  can  broadcast  a  signal  reliably  up  to  30m  (100U)  !   BLE  technology  runs  in  the  background  on  a  device  !   New  source  of  machine  data  (customer  behavior)  !   Connect  digital  to  physical  world  

8  

Page 9: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

iBeacon  in  acJon  

Page 10: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Imagine…  

Walking  into  a  mall  and  pulling    out  your  phone.  

A  loyalty  app  recognizes  that    you’re  in  proximity  of  a  store.  

A  push  message  noOfies  you    about  a  promoOon.    

Unlocking  your  phone  launches  the  loyalty  app.  

A  promoOon  tailored  for  you  is  displayed,  drawing  

you  into  the  store.    

When  you  approach  a  product  line,  informaOon  is    retrieved  about  XYZ  brand.    

10  

Page 11: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Does  this  seem  familiar?  

11  

hep://youtu.be/7bXJ_obaiYQ?t=35s  

Page 12: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Don’t  be  evil.  

12  

hep://youtu.be/7bXJ_obaiYQ?t=35s  

“Companies  need  to  take  care  when  it  comes  to  iBeacon  use.  If  you’ve  managed  to  convince  a  user  to  install  your  app,  you  need  to  be  careful  not  to  give  those  users  an  excuse  to  delete  your  app.”  -­‐  Kingsley-­‐Hughes    

Page 13: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

What  is  it  good  for    …and  what  is  it  not?    

Page 14: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

The  Good  

14  

Bluetooth  LE  is  a  very  promising  technology  with  lots  of  potenJal.    

•  Geo-­‐Fencing    –  Accurately  IdenJfy  when  someone  

has  leU  a  designated  area  •  Proximity  Awareness    

–  Is  someone  close  to  X?  Within  10  meters?  I  can  do  that.  

•  Approximate  Geo-­‐LocaOon  –  A  device  is  in  this  approximate  

locaJon.  Room  or  department  based  geo-­‐locaJon.    

 

Page 15: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

The  Not  So  Good  

15  

Bluetooth  LE  is  a  2.4  Ghz  radio  signal.  Ya  know—like  WiFi.    

•  Accurate  Geo-­‐LocaOon  –  This  is  NOT  indoor  GPS!  

•  Congested  Places  –  Obstacles  such  as  furniture,  people  

or  communicaJon  congesJon  can  weaken  the  signal.  Calculated  distance  is  only  an  esJmate.  

•  User  Tracking  –  Signal  sampling  will  be  “bouncy”.  It  

is  hard  to  accurately  track  a  device’s  locaJon.  Signals  bounce  off  walls,  etc.    

Page 16: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

iBeacon  Technology    Deep-­‐Dive  

Page 17: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

iBeacon  Details  

17  

! iBeacons  ONLY  broadcast  (here  I  am!).  ! iBeacons  cannot  collect  data.    ! iBeacon  broadcasts  have  no  data    payload—they  simply  idenJfy  themselves  via  a  unique  idenJfier  (UUID)  and  2  numbers  “major”  and  “minor”  –  Most  deployments  designate  the  major  number  as  the  general  region  and  

the  minor  as  a  specific  locaJon  within  the  region.    –  Think  of  the  UUID  as  the  applica<on  or  organiza<on  idenJfier.    –  An  app  can  only  listen  for  specific  UUIDs  provided  by  the  developer,  there  is  

no  way  to  see  a  list  of  all  beacons  visible  to  the  device.  

Data  (31  bytes)  

Prefix   Proximity  UUID   Major   Minor   TX  Power  

Page 18: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

How  it  works  

18  

!   A  device  moves  within  range  of  a  beacon  !   The  app  recognizes  the  UUID  of  the  beacon  and  takes  acJon  !   InformaJon  about  the  device/beacon  is  sent  to  the  app  server  !   InstrucJons  are  sent  to  the  app  from  a  server  (opJonal)  !   The  app  sends  data  to  a  collecJon  point  for  analyJcs  

(1)  (2)  

(3)  (4)  

Page 19: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Best  PracJces  

Page 20: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Best  PracJces  Architecture:  Direct  data  to  local  forwarder  or  cloud  instance  

             LocaJon  #1                                            LocaJon  #2  

receiver.example.com  

receiver.example.com  

WiFi   No  WiFi  

20  

Page 21: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Best  PracJces  (cont.)  

Use  MINT  Enterprise  to  collect  semanOc  logs  from  any  device.      

21  

Page 22: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Live  Demo…  

Page 23: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Our  Demo  Environment  

!   6  EsJmote  beacons  have  been  scaeered  around  the  room.  !   4  RaspberryPis  w/  ARM  forwarder  are  acJng  as  our  mobile  clients.  

!   Data  is  being  sent  directly  to  a  local  Splunk  instance.  !   We’re  kindly  requesJng  your  parJcipaJon  with  this  demo.  !   Have  a  look  under  your  chair.  You  might  be  si~ng  on  a  beacon!  

23  

Page 24: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Splunk  Advantages    !   Real-­‐Jme  reporJng  on  how  many  people  are  in  a  locaJon  

–  Up-­‐to-­‐the-­‐second  business  intelligence  of  physical  world,  not  just  digital.  –  Can  a  push  noJficaJon  change  shopping  behavior  now?  

!   Quickly  correlate  proximity  data  with  other  data  sources    –  Compare  window  shoppers  to  purchasers  using  POS  data    –  Determine  what  booth  design  and  locaJon  generates  the  most  traffic  at  a  

tradeshow.  

!   Easily  augment  data  beaconed  from  the  device  –  Augment  beaconed  data  with  demographic  informaJon  to  beeer  

understand  your  customers.  

24  

Page 25: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Real  World    Use  Cases  

Page 26: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

26  

Page 27: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Apple  

27  

Page 28: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

28  

Page 29: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

Wrapping  up  –  Key  Take  Aways  

29  

!   BLE  Technology  has  physical  limits,  but  huge  potenJal  !   SupporJng  hardware  (beacons)  is  cheap  &  easy  to  deploy      !   Splunk  products  make  collecJng  and  analyzing  iBeacon  data  easy  !   InnovaJve  retailers  and  app  developers  are  early  adopters  !   Other  use  cases  beyond  retail  are  no  longer  limited  to  Hollywood  !   Privacy  concerns  are  real  and  should  be  considered  carefully  

Page 30: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

QuesJons  and  Answers  

Page 31: Splunking*iBeacon* (BLE)*for*Profitand* Pleasure** · Whatis* iBeacon/Bluetooth*Low*Energy*(BLE)?* 5 iBeacon*=technology*created*by*Apple*to*improve*locaon*service*for*mobile*devices.*

THANK  YOU