How to view your daily bandwidth stats on Cloudflare

Sep 23, 2017 10:17:00 PM / by Vu Long Tran posted in tech, web development, cloudflare, cybersecurity

1 Comment

This guide below details how you can view your Analytics including bandwidth statistics from your Cloudflare using an API call.

  • Cloudflare account
  • Command line tool such as Command on a Windows machine, and Terminal or iTerm on a Mac
  • Appropriate access level privileges to your Cloudflare.com so you can source identifying keys such as the (Zone ID and API keys which you will need).

We are going to use a Cloudflare API called "Analytics dashboard API". This analytics dashboard API will give you a bunch of analytics that you would normally see in your dashboard, however, I am going to focus on showing you how to get your bandwidth numbers, including the cached and uncached bandwidth figures.

You can always view more analytics fields and other optional parameters by following the steps on the Cloudflare API page: https://api.cloudflare.com/#zone-analytics-dashboard

Read More

How to customise your Cloudflare firewall for your business

Feb 13, 2017 5:23:00 PM / by Vu Long Tran posted in tech, cloudflare, cybersecurity


This article follows on from the previous post on " How to set your Cloudflare web application firewall to simulate mode".

Ideally, you have been able to set your web application firewall (WAF) to "On" and it is now tracking events as "simulate, block, or challenge" modes.
Read More