Skip to content

InfluxDB Integration

Log metrics and time-series data into InfluxDB.

  1. Create a data folder:

    mkdir -p ./data
    

  2. Start the InfluxDB Docker Compose stack:

  3. InfluxDB docker-compose.yml

    docker compose up -d
    

  4. Navigate to http://127.0.0.1:8086, create an initial user (Org: dnscollector, Bucket: db_dns), copy the generated API token, and paste it into the DNS-collector configuration.

  5. Run DNS-collector with the InfluxDB integration configuration:

  6. InfluxDB config.yml
    ./dnscollector -config docs/_integration/influxdb/config.yml