Skip to content

InfluxDB: Introduction & Getting Started

InfluxDB is an open-source time-series database designed for storing and analyzing high volumes of time-stamped data, such as metrics and events.

Why Use InfluxDB?

  • Store and query time-series data efficiently
  • Integrate with Grafana, Telegraf, and other tools
  • Ideal for IoT, monitoring, and analytics

How InfluxDB Works

  • Data is written and queried using InfluxQL or Flux
  • Supports retention policies and continuous queries
  • Integrates with visualization and monitoring tools

Quick Start Example

  1. Run InfluxDB (Docker):
    docker run -d -p 8086:8086 influxdb:latest
    
  2. Access the UI:
  3. Open http://localhost:8086 in your browser
  4. Write data (CLI):
    docker exec -it <container_id> influx
    CREATE DATABASE mydb
    INSERT cpu,host=server01 usage=0.5
    SELECT * FROM cpu
    

Learn More