SlideShare a Scribd company logo
z
Time Series data processing and analysis.
InfluxData - Time Series Platform.
z
www.influxdata.com
GitHub
z
Serhii Savaryn
z
 Python Engineer
 > 3 years of experience
z
Agenda
z
 InfluxData general information.
 Open Source TICK Stack.
 InfluxDB, what’s inside?
 Telegraf, Chronograf, Kapacitor.
 Demo.
 Pros & Cons.
z
The modern engine for Metrics and Events
The Leading Time Series Platform
z
 DevOps
Observability
 IoT Analytics
 Real-Time
Analytics
z The InfluxData Platform is a complete platform for handling all time series data, from humans,
sensors, or machines—seamlessly collecting, storing, visualizing, and turning insight into action.
With both fast deployment and fast performance, InfluxData delivers real value in real time.
InfluxData has three major product offerings: InfluxCloud (fully managed and hosted service
offering), InfluxEnterprise (software that can run on-premises or on any cloud provider), and an
open source Time Series Platform.
Functional Architecture
z
Components of the TICK Stack
InfluxData provides a Modern Time Series Platform, designed from
the ground up to handle metrics and events. InfluxData’s
products are based on an open source core. This open source core
consists of the projects—Telegraf, InfluxDB, Chronograf,
and Kapacitor; collectively called the TICK Stack.
z
z
InfluxDB is the Time Series Database in
the TICK Stack
InfluxDB is used as a data store for any use case involving large
amounts of time-stamped data, including DevOps monitoring, log
data, application metrics, IoT sensor data, and real-time analytics.
Conserve space on your machine by configuring InfluxDB to keep
data for a defined length of time, automatically expiring & deleting
any unneeded data from the system. InfluxDB also offers a SQL-
like query language for interacting with data.
z
TSDB unique combination
 Ingest: thousands to millions of points per second
 Store: fast accumulating, append-mostly data, lots of repetition,
often with time-to-live
 Query: analytic queries with fast filtering, windowing
 Scale: availability, storage, query
z
InfluxDB: Adding data (1)
POST ’http://localhost:8086/write?db=mydb' --data- binary
'cpu_load_short,host=server01,region=us-west value=0.64
1434055562000000000’
z
InfluxDB: Adding data (2)
 fsync( ) batch to WAL
 Add to in- memory cache & Snapshot cache to TSM
 Add to index
z
InfluxDB: on-disk (filesystem)
CREATE RETENTION POLICY <retention_policy_name> ON
<database_name> DURATION <duration> REPLICATION <n> [SHARD
DURATION <duration>] [DEFAULT]
Database directory /db
Retention Policy directory /db/rp
Shard Group (time bounded) (Logical)
Shard directory (db/rp/Id#)
TSM0001.tsm (data file)
TSM0002.tsm (data file)
zTSM
Blocks
Block
TSM Index
z
InfluxDB: Adding data (index)
 Measurement name -> field keys
 Measurement name -> series
 Measurement name -> tag keys -> tag value -> series
 Series -> shards
 (Also sketches of series and measurements for fast cardinality
estimation)
z
InfluxDB: TSI
 Roaring-bitmaps to short- cut
series creation on insert
 Iterators for index mappings
 Index is per-shard; series id file
is per-database
 Partitioned for lock-splitting
z
Telegraf is the Agent for Collecting and
Reporting Metrics & Data
Telegraf is part of the TICK Stack and is a plugin-driven server
agent for collecting and reporting metrics. Telegraf
has integrations to source a variety of metrics, events, and logs
directly from the containers and systems it’s running on, pull metrics
from third-party APIs, or even listen for metrics via a StatsD and
Kafka consumer services. It also has output plugins to send metrics
to a variety of other datastores, services, and message queues,
including InfluxDB, Graphite, OpenTSDB, Datadog, Librato, Kafka,
MQTT, NSQ, and many others.
z
z
Telegraf metrics
Telegraf metrics are the internal representation used to model data during processing. These
metrics are closely based on InfluxDB’s data model and contain four main components:
 Measurement name: Description and namespace for the metric.
 Tags: Key/Value string pairs and usually used to identify the metric.
 Fields: Key/Value pairs that are typed and usually contain the metric data.
 Timestamp: Date and time associated with the fields.
This metric type exists only in memory and must be converted to a concrete representation in
order to be transmitted or viewed. Telegraf provides output data formats (also known
as serializers) for these conversions. Telegraf’s default serializer converts to InfluxDB Line
Protocol, which provides a high performance and one-to-one direct mapping from Telegraf
metrics.
z
Telegraf aggregator and processor plugins
z
Kapacitor is a Real-Time Streaming Data
Processing Engine
Kapacitor is a native data processing engine in the TICK Stack. It
can process both stream and batch data from InfluxDB. It lets you
plug in your own custom logic or user-defined functions to process
alerts with dynamic thresholds, match metrics for patterns, compute
statistical anomalies, and perform specific actions based on these
alerts like dynamic load rebalancing. It also integrates with HipChat,
OpsGenie, Alerta, Sensu, PagerDuty, Slack, and more.
z
z
Basic examples
An elementary stream → from() pipeline
The simple script in Example 2 can be used to create a task with the default Telegraf database.
The task, sf_task, will simply cache the latest cpu datapoint as JSON to the HTTP REST
endpoint(e.g http://localhost:9092/kapacitor/v1/tasks/sf_task/dump).
z
Chronograf is the Complete Interface for the
InfluxData Platform
Chronograf is the user interface component of InfluxData’s TICK
Stack. It allows you to quickly see the data that you have stored in
InfluxDB so you can build robust queries and alerts. It is simple to
use and includes templates and libraries to allow you to rapidly
build dashboards with real-time visualizations of your data.
z
z
z
DEMO

More Related Content

PDF
Case Study : InfluxDB
PDF
The Telegraf Toolbelt | David McKay | InfluxData
PDF
SFScon19 - Francesco La Spina -7 Steps to Industry 40
PPTX
How to Use Telegraf and Its Plugin Ecosystem
PDF
Monitoring, Alerting, and Tasks as Code by Russ Savage, Director of Product M...
PPTX
Development and Applications of Distributed IoT Sensors for Intermittent Conn...
PDF
Kapacitor Manager
PPTX
Discover How IBM Uses InfluxDB and Grafana to Help Clients Monitor Large Prod...
Case Study : InfluxDB
The Telegraf Toolbelt | David McKay | InfluxData
SFScon19 - Francesco La Spina -7 Steps to Industry 40
How to Use Telegraf and Its Plugin Ecosystem
Monitoring, Alerting, and Tasks as Code by Russ Savage, Director of Product M...
Development and Applications of Distributed IoT Sensors for Intermittent Conn...
Kapacitor Manager
Discover How IBM Uses InfluxDB and Grafana to Help Clients Monitor Large Prod...

What's hot (20)

PDF
Optimizing InfluxDB Performance in the Real World by Dean Sheehan, Senior Dir...
PDF
WRITING QUERIES (INFLUXQL AND TICK)
PPTX
How Texas Instruments Uses InfluxDB to Uphold Product Standards and to Improv...
PPTX
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
PDF
InfluxDB Live Product Training
PPTX
How to Improve Performance Testing Using InfluxDB and Apache JMeter
PDF
Catalogs - Turning a Set of Parquet Files into a Data Set
PPTX
Container Monitoring Best Practices Using AWS and InfluxData by Gunnar Aasen
PPTX
InfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
PPSX
GE IOT Predix Time Series & Data Ingestion Service using Apache Apex (Hadoop)
PDF
Vasilis Papavasiliou [Mist.io] | Integrating Telegraf, InfluxDB and Mist to M...
PPTX
How an Open Marine Standard, InfluxDB and Grafana Are Used to Improve Boating...
PDF
How Sensor Data Can Help Manufacturers Gain Insight to Reduce Waste, Energy C...
PPTX
InfluxDB 101 – Concepts and Architecture by Michael DeSa, Software Engineer |...
PDF
OPTIMIZING THE TICK STACK
PPTX
InfluxDB Community Office Hours September 2020
PDF
InfluxEnterprise Architectural Patterns by Dean Sheehan, Senior Director, Pre...
PPTX
Intro to InfluxDB 2.0 and Your First Flux Query by Sonia Gupta
PDF
InfluxDB 2.0: Dashboarding 101 by David G. Simmons
PPTX
Building Modern Data Pipelines for Time Series Data on GCP with InfluxData by...
Optimizing InfluxDB Performance in the Real World by Dean Sheehan, Senior Dir...
WRITING QUERIES (INFLUXQL AND TICK)
How Texas Instruments Uses InfluxDB to Uphold Product Standards and to Improv...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
InfluxDB Live Product Training
How to Improve Performance Testing Using InfluxDB and Apache JMeter
Catalogs - Turning a Set of Parquet Files into a Data Set
Container Monitoring Best Practices Using AWS and InfluxData by Gunnar Aasen
InfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
GE IOT Predix Time Series & Data Ingestion Service using Apache Apex (Hadoop)
Vasilis Papavasiliou [Mist.io] | Integrating Telegraf, InfluxDB and Mist to M...
How an Open Marine Standard, InfluxDB and Grafana Are Used to Improve Boating...
How Sensor Data Can Help Manufacturers Gain Insight to Reduce Waste, Energy C...
InfluxDB 101 – Concepts and Architecture by Michael DeSa, Software Engineer |...
OPTIMIZING THE TICK STACK
InfluxDB Community Office Hours September 2020
InfluxEnterprise Architectural Patterns by Dean Sheehan, Senior Director, Pre...
Intro to InfluxDB 2.0 and Your First Flux Query by Sonia Gupta
InfluxDB 2.0: Dashboarding 101 by David G. Simmons
Building Modern Data Pipelines for Time Series Data on GCP with InfluxData by...
Ad

Similar to Influx data basic (20)

PDF
Introduction to InfluxDB and TICK Stack
PDF
Virtual training Intro to the Tick stack and InfluxEnterprise
PDF
Virtual training Intro to InfluxDB & Telegraf
PDF
Advanced kapacitor
PDF
InfluxDB 101 - Concepts and Architecture | Michael DeSa | InfluxData
PPTX
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
PDF
Intro to InfluxDB
PDF
Maximizing Real-Time Data Processing with Apache Kafka and InfluxDB: A Compre...
PDF
Introduction to InfluxDB
PDF
InfluxDB Internals
PPTX
Why You Should NOT Be Using an RDBMS for Time-stamped Data
PPTX
Why You Should NOT Be Using an RDBS for Time-stamped Data
PDF
influxDB & ju:niz Energy Storage - Technical case study
PDF
Virtual training intro to InfluxDB - June 2021
PPTX
Michael Hall [InfluxData] | InfluxDB Community Update | InfluxDays Virtual Ex...
PPTX
Paul Dix [InfluxData] | InfluxDays Keynote: Future of InfluxDB | InfluxDays N...
PDF
Intro to Kapacitor for Alerting and Anomaly Detection
PDF
Intro to Time Series
PDF
Time Series Tech Stack for the IoT Edge
Introduction to InfluxDB and TICK Stack
Virtual training Intro to the Tick stack and InfluxEnterprise
Virtual training Intro to InfluxDB & Telegraf
Advanced kapacitor
InfluxDB 101 - Concepts and Architecture | Michael DeSa | InfluxData
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
Intro to InfluxDB
Maximizing Real-Time Data Processing with Apache Kafka and InfluxDB: A Compre...
Introduction to InfluxDB
InfluxDB Internals
Why You Should NOT Be Using an RDBMS for Time-stamped Data
Why You Should NOT Be Using an RDBS for Time-stamped Data
influxDB & ju:niz Energy Storage - Technical case study
Virtual training intro to InfluxDB - June 2021
Michael Hall [InfluxData] | InfluxDB Community Update | InfluxDays Virtual Ex...
Paul Dix [InfluxData] | InfluxDays Keynote: Future of InfluxDB | InfluxDays N...
Intro to Kapacitor for Alerting and Anomaly Detection
Intro to Time Series
Time Series Tech Stack for the IoT Edge
Ad

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Essential Infomation Tech presentation.pptx
PPTX
L1 - Introduction to python Backend.pptx
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Transform Your Business with a Software ERP System
PDF
top salesforce developer skills in 2025.pdf
PDF
medical staffing services at VALiNTRY
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
AI in Product Development-omnex systems
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Essential Infomation Tech presentation.pptx
L1 - Introduction to python Backend.pptx
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
CHAPTER 2 - PM Management and IT Context
2025 Textile ERP Trends: SAP, Odoo & Oracle
Transform Your Business with a Software ERP System
top salesforce developer skills in 2025.pdf
medical staffing services at VALiNTRY
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
How Creative Agencies Leverage Project Management Software.pdf
AI in Product Development-omnex systems
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Reimagine Home Health with the Power of Agentic AI​
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...

Influx data basic

  • 1. z Time Series data processing and analysis. InfluxData - Time Series Platform. z www.influxdata.com GitHub
  • 2. z Serhii Savaryn z  Python Engineer  > 3 years of experience
  • 3. z Agenda z  InfluxData general information.  Open Source TICK Stack.  InfluxDB, what’s inside?  Telegraf, Chronograf, Kapacitor.  Demo.  Pros & Cons.
  • 4. z The modern engine for Metrics and Events The Leading Time Series Platform z  DevOps Observability  IoT Analytics  Real-Time Analytics
  • 5. z The InfluxData Platform is a complete platform for handling all time series data, from humans, sensors, or machines—seamlessly collecting, storing, visualizing, and turning insight into action. With both fast deployment and fast performance, InfluxData delivers real value in real time. InfluxData has three major product offerings: InfluxCloud (fully managed and hosted service offering), InfluxEnterprise (software that can run on-premises or on any cloud provider), and an open source Time Series Platform. Functional Architecture
  • 6. z Components of the TICK Stack InfluxData provides a Modern Time Series Platform, designed from the ground up to handle metrics and events. InfluxData’s products are based on an open source core. This open source core consists of the projects—Telegraf, InfluxDB, Chronograf, and Kapacitor; collectively called the TICK Stack.
  • 7. z
  • 8. z InfluxDB is the Time Series Database in the TICK Stack InfluxDB is used as a data store for any use case involving large amounts of time-stamped data, including DevOps monitoring, log data, application metrics, IoT sensor data, and real-time analytics. Conserve space on your machine by configuring InfluxDB to keep data for a defined length of time, automatically expiring & deleting any unneeded data from the system. InfluxDB also offers a SQL- like query language for interacting with data.
  • 9. z TSDB unique combination  Ingest: thousands to millions of points per second  Store: fast accumulating, append-mostly data, lots of repetition, often with time-to-live  Query: analytic queries with fast filtering, windowing  Scale: availability, storage, query
  • 10. z InfluxDB: Adding data (1) POST ’http://localhost:8086/write?db=mydb' --data- binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000’
  • 11. z InfluxDB: Adding data (2)  fsync( ) batch to WAL  Add to in- memory cache & Snapshot cache to TSM  Add to index
  • 12. z InfluxDB: on-disk (filesystem) CREATE RETENTION POLICY <retention_policy_name> ON <database_name> DURATION <duration> REPLICATION <n> [SHARD DURATION <duration>] [DEFAULT] Database directory /db Retention Policy directory /db/rp Shard Group (time bounded) (Logical) Shard directory (db/rp/Id#) TSM0001.tsm (data file) TSM0002.tsm (data file)
  • 14. z InfluxDB: Adding data (index)  Measurement name -> field keys  Measurement name -> series  Measurement name -> tag keys -> tag value -> series  Series -> shards  (Also sketches of series and measurements for fast cardinality estimation)
  • 15. z InfluxDB: TSI  Roaring-bitmaps to short- cut series creation on insert  Iterators for index mappings  Index is per-shard; series id file is per-database  Partitioned for lock-splitting
  • 16. z Telegraf is the Agent for Collecting and Reporting Metrics & Data Telegraf is part of the TICK Stack and is a plugin-driven server agent for collecting and reporting metrics. Telegraf has integrations to source a variety of metrics, events, and logs directly from the containers and systems it’s running on, pull metrics from third-party APIs, or even listen for metrics via a StatsD and Kafka consumer services. It also has output plugins to send metrics to a variety of other datastores, services, and message queues, including InfluxDB, Graphite, OpenTSDB, Datadog, Librato, Kafka, MQTT, NSQ, and many others.
  • 17. z
  • 18. z Telegraf metrics Telegraf metrics are the internal representation used to model data during processing. These metrics are closely based on InfluxDB’s data model and contain four main components:  Measurement name: Description and namespace for the metric.  Tags: Key/Value string pairs and usually used to identify the metric.  Fields: Key/Value pairs that are typed and usually contain the metric data.  Timestamp: Date and time associated with the fields. This metric type exists only in memory and must be converted to a concrete representation in order to be transmitted or viewed. Telegraf provides output data formats (also known as serializers) for these conversions. Telegraf’s default serializer converts to InfluxDB Line Protocol, which provides a high performance and one-to-one direct mapping from Telegraf metrics.
  • 19. z Telegraf aggregator and processor plugins
  • 20. z Kapacitor is a Real-Time Streaming Data Processing Engine Kapacitor is a native data processing engine in the TICK Stack. It can process both stream and batch data from InfluxDB. It lets you plug in your own custom logic or user-defined functions to process alerts with dynamic thresholds, match metrics for patterns, compute statistical anomalies, and perform specific actions based on these alerts like dynamic load rebalancing. It also integrates with HipChat, OpsGenie, Alerta, Sensu, PagerDuty, Slack, and more.
  • 21. z
  • 22. z Basic examples An elementary stream → from() pipeline The simple script in Example 2 can be used to create a task with the default Telegraf database. The task, sf_task, will simply cache the latest cpu datapoint as JSON to the HTTP REST endpoint(e.g http://localhost:9092/kapacitor/v1/tasks/sf_task/dump).
  • 23. z Chronograf is the Complete Interface for the InfluxData Platform Chronograf is the user interface component of InfluxData’s TICK Stack. It allows you to quickly see the data that you have stored in InfluxDB so you can build robust queries and alerts. It is simple to use and includes templates and libraries to allow you to rapidly build dashboards with real-time visualizations of your data.
  • 24. z
  • 25. z