Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Latest commit

 

History

History
35 lines (22 loc) · 951 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 951 Bytes

CSV Converter

A small script to capture server measurements from a workspace and transform them into CSV.

How to use it

  1. Install project dependencies

    npm install
  2. Open the index.js file, and enter the necessary configuration. Such as username, password, workspace. You should also add to the serverIds list the ids of the servers you are targeting.

  3. Run the script

    npm start
  4. Once the script has be run, you will find the out inside the output/csv folder. You will have a file per server.

  5. If you need to aggregate all the servers output into one big file. You can run the following command. You will find in the output/csv folder a new file with the name aggregated-output.csv

    npm run merger

Note

If you would like to explore the raw json output, run the following command and check the output/json folder

npm run debug