SlideShare a Scribd company logo
Nathaniel Cook, Software Developer - Team Lead
Feb 13 2018
Kapacitor
© 2018 InfluxData. All rights reserved.2
Overview
• Introduction to Kapacitor
• Installation Process
• Explore some use cases
© 2018 InfluxData. All rights reserved.3
Introduction to Kapacitor
Take action on your data
Runs as separate process
© 2018 InfluxData. All rights reserved.4
Installation
© 2018 InfluxData. All rights reserved.5
Installation Steps
$ wget https://dl.influxdata.com/kapacitor/releases/kapacitor_1.4.0_amd64.deb
$ sudo dpkg -i kapacitor_1.4.0_amd64.deb
$ kapacitord
$ kapacitor define mytask -tick path/to/script.tick
https://docs.influxdata.com/kapacitor/latest/introduction/getting_started/
© 2018 InfluxData. All rights reserved.6
Use Cases
© 2018 InfluxData. All rights reserved.7
Use Cases
• Preprocess ETL
• Postprocess ETL
• Alert on Relative Change
• Hot Cache
• Autoscale Services
• Forecast Time Series
Follow along with TICKscript using:
https://github.com/nathanielc/influxdaysnyc
© 2018 InfluxData. All rights reserved.8
Preprocess ETL
© 2018 InfluxData. All rights reserved.9
Preprocess ETL
InfluxDBKapacitorTelegraf
© 2018 InfluxData. All rights reserved.10
Postprocess ETL
© 2018 InfluxData. All rights reserved.11
Postprocess ETL
InfluxDB KapacitorTelegraf
© 2018 InfluxData. All rights reserved.12
Alert on Relative Change
© 2018 InfluxData. All rights reserved.13
Alert on Relative Change
Previous Current
Relative
Change
Difference
Trigger Alert
© 2018 InfluxData. All rights reserved.14
Hot Cache
© 2018 InfluxData. All rights reserved.15
Hot Cache
Kapacitor Client
© 2018 InfluxData. All rights reserved.16
Autoscale Services
© 2018 InfluxData. All rights reserved.17
Autoscaling
Kapacitor
Nodes
Cluster
Manager
© 2018 InfluxData. All rights reserved.18
Forecast
© 2018 InfluxData. All rights reserved.19
Forecast
Historical
Predicted
Forecast Trigger Alert
Current
© 2018 InfluxData. All rights reserved.20
Bring it All Together
© 2018 InfluxData. All rights reserved.21
Bring it All Together
Pick Any Combination of the use cases:
• Predictive Autoscaling
• Preprocess to clean data before forecasting
• Alert on relative change from predicted values
• Alert on autoscale events
• Hot cache autoscale metrics
© 2018 InfluxData. All rights reserved.22
Questions?
Twitter: @nathanielvcook
Github: nathanielc
Thank You

More Related Content

PDF
A TRUE STORY ABOUT DATABASE ORCHESTRATION
PDF
A True Story About Database Orchestration
PDF
WRITING QUERIES (INFLUXQL AND TICK)
PDF
DOWNSAMPLING DATA
PDF
Setting up InfluxData for IoT
PDF
Kapacitor Stream Processing
PDF
InfluxData Architecture for IoT | Noah Crowley | InfluxData
PDF
Advanced kapacitor
A TRUE STORY ABOUT DATABASE ORCHESTRATION
A True Story About Database Orchestration
WRITING QUERIES (INFLUXQL AND TICK)
DOWNSAMPLING DATA
Setting up InfluxData for IoT
Kapacitor Stream Processing
InfluxData Architecture for IoT | Noah Crowley | InfluxData
Advanced kapacitor

What's hot (20)

PDF
Lessons Learned: Running InfluxDB Cloud and Other Cloud Services at Scale | T...
PDF
Intro to Kapacitor for Alerting and Anomaly Detection
PDF
tado° Makes Your Home Environment Smart with InfluxDB
PDF
Introduction to Docker and Monitoring with InfluxData
PDF
Virtual training Intro to the Tick stack and InfluxEnterprise
PDF
OPTIMIZING THE TICK STACK
PDF
Inside the InfluxDB storage engine
PDF
IoT Event Processing and Analytics with InfluxDB in Google Cloud | Christoph ...
PDF
InfluxDB 101 - Concepts and Architecture | Michael DeSa | InfluxData
PPTX
Container Monitoring Best Practices Using AWS and InfluxData by Gunnar Aasen
PPTX
IoT Architectural Overview - 3 use case studies from InfluxData
PDF
Creating and Using the Flux SQL Datasource | Katy Farmer | InfluxData
PPTX
InfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
PDF
Streaming Sensor Data with Grafana and InfluxDB | Ryan Mckinley | Grafana
PDF
InfluxDB 2.0: Dashboarding 101 by David G. Simmons
PDF
OPTIMIZING THE TICK STACK
PPTX
InfluxDB 101 – Concepts and Architecture by Michael DeSa, Software Engineer |...
PDF
Optimizing InfluxDB Performance in the Real World | Sam Dillard | InfluxData
PPTX
Kapacitor - Real Time Data Processing Engine
PDF
Lessons and Observations Scaling a Time Series Database
Lessons Learned: Running InfluxDB Cloud and Other Cloud Services at Scale | T...
Intro to Kapacitor for Alerting and Anomaly Detection
tado° Makes Your Home Environment Smart with InfluxDB
Introduction to Docker and Monitoring with InfluxData
Virtual training Intro to the Tick stack and InfluxEnterprise
OPTIMIZING THE TICK STACK
Inside the InfluxDB storage engine
IoT Event Processing and Analytics with InfluxDB in Google Cloud | Christoph ...
InfluxDB 101 - Concepts and Architecture | Michael DeSa | InfluxData
Container Monitoring Best Practices Using AWS and InfluxData by Gunnar Aasen
IoT Architectural Overview - 3 use case studies from InfluxData
Creating and Using the Flux SQL Datasource | Katy Farmer | InfluxData
InfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
Streaming Sensor Data with Grafana and InfluxDB | Ryan Mckinley | Grafana
InfluxDB 2.0: Dashboarding 101 by David G. Simmons
OPTIMIZING THE TICK STACK
InfluxDB 101 – Concepts and Architecture by Michael DeSa, Software Engineer |...
Optimizing InfluxDB Performance in the Real World | Sam Dillard | InfluxData
Kapacitor - Real Time Data Processing Engine
Lessons and Observations Scaling a Time Series Database
Ad

More from InfluxData (20)

PPTX
Announcing InfluxDB Clustered
PDF
Best Practices for Leveraging the Apache Arrow Ecosystem
PDF
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Redu...
PDF
Power Your Predictive Analytics with InfluxDB
PDF
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
PDF
Build an Edge-to-Cloud Solution with the MING Stack
PDF
Meet the Founders: An Open Discussion About Rewriting Using Rust
PDF
Introducing InfluxDB Cloud Dedicated
PDF
Gain Better Observability with OpenTelemetry and InfluxDB
PPTX
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
PDF
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
PPTX
Introducing InfluxDB’s New Time Series Database Storage Engine
PDF
Start Automating InfluxDB Deployments at the Edge with balena
PDF
Understanding InfluxDB’s New Storage Engine
PDF
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
PPTX
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
PDF
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
PDF
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
PDF
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
PDF
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
Announcing InfluxDB Clustered
Best Practices for Leveraging the Apache Arrow Ecosystem
How Bevi Uses InfluxDB and Grafana to Improve Predictive Maintenance and Redu...
Power Your Predictive Analytics with InfluxDB
How Teréga Replaces Legacy Data Historians with InfluxDB, AWS and IO-Base
Build an Edge-to-Cloud Solution with the MING Stack
Meet the Founders: An Open Discussion About Rewriting Using Rust
Introducing InfluxDB Cloud Dedicated
Gain Better Observability with OpenTelemetry and InfluxDB
How a Heat Treating Plant Ensures Tight Process Control and Exceptional Quali...
How Delft University's Engineering Students Make Their EV Formula-Style Race ...
Introducing InfluxDB’s New Time Series Database Storage Engine
Start Automating InfluxDB Deployments at the Edge with balena
Understanding InfluxDB’s New Storage Engine
Streamline and Scale Out Data Pipelines with Kubernetes, Telegraf, and InfluxDB
Ward Bowman [PTC] | ThingWorx Long-Term Data Storage with InfluxDB | InfluxDa...
Scott Anderson [InfluxData] | New & Upcoming Flux Features | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Closing Thoughts | InfluxDays 2022
Steinkamp, Clifford [InfluxData] | Welcome to InfluxDays 2022 - Day 2 | Influ...
Steinkamp, Clifford [InfluxData] | Closing Thoughts Day 1 | InfluxDays 2022
Ad

Recently uploaded (20)

PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
Funds Management Learning Material for Beg
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPTX
Internet___Basics___Styled_ presentation
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
Testing WebRTC applications at scale.pdf
PPTX
Digital Literacy And Online Safety on internet
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
Introduction to the IoT system, how the IoT system works
PPTX
Introduction to Information and Communication Technology
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PDF
WebRTC in SignalWire - troubleshooting media negotiation
Introuction about ICD -10 and ICD-11 PPT.pptx
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Funds Management Learning Material for Beg
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
522797556-Unit-2-Temperature-measurement-1-1.pptx
Paper PDF World Game (s) Great Redesign.pdf
Internet___Basics___Styled_ presentation
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Testing WebRTC applications at scale.pdf
Digital Literacy And Online Safety on internet
Introuction about WHO-FIC in ICD-10.pptx
Sims 4 Historia para lo sims 4 para jugar
Introduction to the IoT system, how the IoT system works
Introduction to Information and Communication Technology
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
Tenda Login Guide: Access Your Router in 5 Easy Steps
Power Point - Lesson 3_2.pptx grad school presentation
WebRTC in SignalWire - troubleshooting media negotiation

Kapacitor Stream Processing

  • 1. Nathaniel Cook, Software Developer - Team Lead Feb 13 2018 Kapacitor
  • 2. © 2018 InfluxData. All rights reserved.2 Overview • Introduction to Kapacitor • Installation Process • Explore some use cases
  • 3. © 2018 InfluxData. All rights reserved.3 Introduction to Kapacitor Take action on your data Runs as separate process
  • 4. © 2018 InfluxData. All rights reserved.4 Installation
  • 5. © 2018 InfluxData. All rights reserved.5 Installation Steps $ wget https://dl.influxdata.com/kapacitor/releases/kapacitor_1.4.0_amd64.deb $ sudo dpkg -i kapacitor_1.4.0_amd64.deb $ kapacitord $ kapacitor define mytask -tick path/to/script.tick https://docs.influxdata.com/kapacitor/latest/introduction/getting_started/
  • 6. © 2018 InfluxData. All rights reserved.6 Use Cases
  • 7. © 2018 InfluxData. All rights reserved.7 Use Cases • Preprocess ETL • Postprocess ETL • Alert on Relative Change • Hot Cache • Autoscale Services • Forecast Time Series Follow along with TICKscript using: https://github.com/nathanielc/influxdaysnyc
  • 8. © 2018 InfluxData. All rights reserved.8 Preprocess ETL
  • 9. © 2018 InfluxData. All rights reserved.9 Preprocess ETL InfluxDBKapacitorTelegraf
  • 10. © 2018 InfluxData. All rights reserved.10 Postprocess ETL
  • 11. © 2018 InfluxData. All rights reserved.11 Postprocess ETL InfluxDB KapacitorTelegraf
  • 12. © 2018 InfluxData. All rights reserved.12 Alert on Relative Change
  • 13. © 2018 InfluxData. All rights reserved.13 Alert on Relative Change Previous Current Relative Change Difference Trigger Alert
  • 14. © 2018 InfluxData. All rights reserved.14 Hot Cache
  • 15. © 2018 InfluxData. All rights reserved.15 Hot Cache Kapacitor Client
  • 16. © 2018 InfluxData. All rights reserved.16 Autoscale Services
  • 17. © 2018 InfluxData. All rights reserved.17 Autoscaling Kapacitor Nodes Cluster Manager
  • 18. © 2018 InfluxData. All rights reserved.18 Forecast
  • 19. © 2018 InfluxData. All rights reserved.19 Forecast Historical Predicted Forecast Trigger Alert Current
  • 20. © 2018 InfluxData. All rights reserved.20 Bring it All Together
  • 21. © 2018 InfluxData. All rights reserved.21 Bring it All Together Pick Any Combination of the use cases: • Predictive Autoscaling • Preprocess to clean data before forecasting • Alert on relative change from predicted values • Alert on autoscale events • Hot cache autoscale metrics
  • 22. © 2018 InfluxData. All rights reserved.22 Questions? Twitter: @nathanielvcook Github: nathanielc