Skip to content

omerio/compute-engine-usage-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Compute Engine Usage Parser

A utility to parse and aggregate Google Compute Engine CSV usage files. Ensure you have Google Compute Engine usage export enabled in your cloud console as shown in this screenshot:

Alt text

Usage:

    git clone https://github.com/omerio/compute-engine-usage-parser.git
    cd compute-engine-usage-parser
    mkdir dir usage
    # Download the usage files, needs cloud sdk. Note these files contain both daily and aggregate usage, you need 
    # to use one or the other, otherwise you will count things twice
    gsutil -m cp gs://<usage-bucket>/*.csv usage/
    ./parse.sh usage

About

A utility to parse and aggregate Google Compute Engine CSV usage files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published