GithubHelp home page GithubHelp logo

donfanning / awsmetric2csv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from romgapuz/awsmetric2csv

0.0 1.0 0.0 7 KB

AWS Metric to CSV is a Python command-line utility to extract CloudWatch metric data from an AWS resources (e.g. EC2, RDS) and save to a CSV file.

License: MIT License

Python 100.00%

awsmetric2csv's Introduction

awsmetric2csv

awsmetric2csv (AWS Metric to CSV) is a Python command-line utility to extract CloudWatch metric data from an AWS resources (e.g. EC2, RDS).

Features:

  • Extract CPU metric data from all EC2 instances of the selected region
  • Extract CPU metric data from all RDS instances of the selected region
  • Customize parameters: period, days and filename
  • Save output to csv file

Upcoming Features:

  • Support for other metrics e.g. Network IO,

Installation

This application requires Python 2.7 or above. If you don't have Python installed, please download it from here https://www.python.org/downloads/.

Clone the project:

git clone https://github.com/romgapuz/awsmetric2csv.git

Go to the project folder:

cd awsmetric2csv

Prior installing the packages below, you can optionally install and use virtualenv.

Install packages:

pip install -r requirements.txt

Install AWS CLI:

pip install awscli

Configure the AWS CLI:

aws configure

Usage

For usage help run:

python awsmetric2csv.py -h

To extract EC2 instances CPU metrics, run:

python awsmetric2csv.py ec2

To extract RDS instances CPU metrics, run:

python awsmetric2csv.py rds

This will create the output.csv file.

Issues

  • When error InvalidParameterCombination is received. Reduced either period and days parameters.

awsmetric2csv's People

Contributors

romgapuz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.