Code Monkey home page Code Monkey logo

cfstats-csv-parser's Introduction

cfstats-csv-parser

Repository for a utility to parse cfstats into a csv file for analysis

In this repository you will find an executable jar as well as the source code for the cfstatsparser utility.

The utility was built to provide an easily consumable form of the handy nodetool cfstats utility.

The executable jar file is named cfstats-parser.one-jar.jar

  • the jar takes 2 command line args
    • arg[0] - the fully qualified cfstats file (source file)
      • this file should be generated by piping the output of nodetool cfstats to a file
    • arg[1] - the fully qualified .csv file (output file)

To execute the jar, copy the jar to a destination. Then run the following command:

java -jar cfstats-parser.one-jar.jar [source file] [output file]

  • [source file] = arg[0]
  • [output file] = arg[1]

Once you have the output file, you can import it into Excel or another csv tool and then analyze the results, add graphs, format, etc.

This utility has been tested with 1.2.12 of Cassandra and DSE 3.1.2. It also includes two "newish" metrics, which if not present via nodetool cfstats will be blank.

Version 0.1 of the cfstatsparser has the following issues:

  • No loggin support
  • Very little exception handling
  • It's essentially a quick-and-dirty build
  • Only one output format

Please feel free to augment the tool with your additions.

cfstats-csv-parser's People

Contributors

jlacefie 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.