Company
Date Published
Author
Brian Pontarelli
Word count
837
Language
English
Hacker News points
None

Summary

The author of the text wanted to display the download count of FusionAuth on their dashboard. To achieve this, they wrote a Ruby script that downloads access logs from Google Cloud Storage, extracts the download counts using regular expressions, and writes them out in a CSV file that can be used by Cyfe's dashboard system. The script also filters out whitelisted IP addresses to exclude them from the download count. The script is deployed on an hourly basis to ensure it runs every hour and rebuilds the CSV file. The author uses this setup to track downloads of FusionAuth in real-time, making it easier to measure its usage and effectiveness.