Skip to main content

Plugin for Telegraf for gathering statistics from Cloudflare

Project description


Build Status PyPI version License

Plugin for Telegraf for gathering statistics from Cloudflare

This script is in beta version, use with caution


$ pip install telegraf-cloudflare


$ telegraf-cloudflare --zone-id ZONE_ID --email --api-key SECRET

Optional parameters

  • --interval (int)

    • Last 60 minutes (value from 59 to 1): 1 minute resolution
    • Last 7 hours (value from 419 to 60): 15 minutes resolution
    • Last 15 hours (value from 899 to 420): 30 minutes resolution
    • Last 72 hours (value from 4320 to 900): 1 hour resolution
    • Older than 3 days (value 525600 to 4320): 1 day resolution

    Not all intervals are available in all plans, more information is available here

Example telegraf configuration

  interval = 6h
  commands = ["telegraf-cloudflare telegraf-cloudflare --zone-id ZONE_ID --email --api-key SECRET"]
  data_format = "influx"


See LICENSE file.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for telegraf-cloudflare, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size telegraf_cloudflare-0.2.3-py2-none-any.whl (6.5 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size telegraf-cloudflare-0.2.3.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page