Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D133E1969C for ; Mon, 14 Mar 2016 06:34:33 +0000 (UTC) Received: (qmail 80883 invoked by uid 500); 14 Mar 2016 06:34:33 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 80850 invoked by uid 500); 14 Mar 2016 06:34:33 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 80839 invoked by uid 99); 14 Mar 2016 06:34:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2016 06:34:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 762862C1F60 for ; Mon, 14 Mar 2016 06:34:33 +0000 (UTC) Date: Mon, 14 Mar 2016 06:34:33 +0000 (UTC) From: "Shogo Hoshii (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5977) Structure for cfstats output (JSON, YAML, or XML) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shogo Hoshii updated CASSANDRA-5977: ------------------------------------ Attachment: trunk-tablestats.patch re-uploaded because previous one includes unnecessary diffs > 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 > Attachments: tablestats_sample_result.json, tablestats_sample_result.txt, tablestats_sample_result.yaml, trunk-tablestats.patch, trunk-tablestats.patch > > > 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 was sent by Atlassian JIRA (v6.3.4#6332)