[
https://issues.apache.org/jira/browse/CASSANDRA-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-5977.
---------------------------------------
Resolution: Not A Problem
If you want it structured you should grab it from JMX directly. Nodetool
exists to turn JMX into human-readable output, not to transform JMX into
alternative machine-readable formats.
> Structure for cfstats output (JSON, YAML, or XML)
> -------------------------------------------------
>
> Key: CASSANDRA-5977
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5977
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Alyssa Kwan
> Priority: Minor
>
> nodetool cfstats should take a --format arg that structures the output in
> JSON, YAML, or XML. This would be useful for piping into another script that
> can easily parse this and act on it. It would also help those of us who use
> things like MCollective gather aggregate stats across clusters/nodes.
> Thoughts? I can submit a patch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira