Co ff ee • How: Bluetooth Scale + Android App + Splunk • Demo: Splunk Cafe • Future: More to be “Brewed” Get Data into Splunk + Start Analyze Data in 15 mins
Get Data From Bluetooth Scale 2. Send Data To Splunk 3. Splunk 1. Set up Splunk localhost 2. Con fi gure Data Input: Splunk HEC (HTTP Event Collector) 3. Create Splunk Dashboards By SPL Goals: What You’ll Get Relax + Fun! 4
Pouring Technique • Bean / Water Ratio • Time • Temperature • Vibe: Blue Bottle + ACAIA Hand Drip Co ff ee What makes the di ff erence 7 https://blog.androchen.tw/2018/04/29/hand-drip-co ff ee-notes/
Get Data From Bluetooth Scale 2. Send Data To Splunk • Prepare HEC Con fi gs (url, token) • Format Your Event (POST body) • [Optional] Control Data Rate https://github.com/androchentw/SplunkCafe
1. Set up Splunk localhost 2. Con fi gure Data Input: Splunk HEC (HTTP Event Collector) 1. Create Index 2. Con fi gure New Data Inputs 3. Verify via curl + Splunk Search 3. Create Splunk Dashboards By SPL
Splunk Enterprise on local machine • Free License 500MB / day • Full control of con fi g and deeper understanding 2. Basic Components: Standalone Instance • Forwarder > Indexer > Search Head 3. Enable Splunk • $SPLUNK_HOME/bin/splunk start .splunk stop .splunk restart .splunk status http://localhost:8000/ Port 8088
HTTP Event Collector > Add new (Name) 2. Input Settings 1. Source type 2. App Context: splunk_httpinput 3. Selected Allowed & Default Index 3. Review > Submit > Token Value 2. Global Settings > All Tokens: Enabled Splunk HEC (2/) 2-2. Con fi gure New Data Inputs: HEC 16 Splunk Doc: Set up and use HTTP Event Collector in Splunk Web