Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A0EFB200BD0 for ; Wed, 30 Nov 2016 20:18:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9EE8F160B19; Wed, 30 Nov 2016 19:18:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F13E5160B13 for ; Wed, 30 Nov 2016 20:18:36 +0100 (CET) Received: (qmail 8308 invoked by uid 500); 30 Nov 2016 19:18:36 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 8298 invoked by uid 99); 30 Nov 2016 19:18:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2016 19:18:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9AE9F1800EC for ; Wed, 30 Nov 2016 19:18:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id plwIxM5Clr-H for ; Wed, 30 Nov 2016 19:18:34 +0000 (UTC) Received: from resqmta-po-08v.sys.comcast.net (resqmta-po-08v.sys.comcast.net [96.114.154.167]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 743505FC17 for ; Wed, 30 Nov 2016 19:18:34 +0000 (UTC) Received: from resomta-po-11v.sys.comcast.net ([96.114.154.235]) by resqmta-po-08v.sys.comcast.net with SMTP id CAMkcRd2v2dNjCAMkcRxzi; Wed, 30 Nov 2016 19:16:26 +0000 Received: from [192.168.199.10] ([69.251.90.98]) by resomta-po-11v.sys.comcast.net with SMTP id CAMjcWPHggoWlCAMjcRmyo; Wed, 30 Nov 2016 19:16:26 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: JSON for mod_status From: Jim Jagielski In-Reply-To: <1480531092.4019.27.camel@mimir.webthing.com> Date: Wed, 30 Nov 2016 14:16:25 -0500 Content-Transfer-Encoding: 7bit Message-Id: References: <128EB450-7EF2-44CD-9D0A-9B1AA913AC2F@jaguNET.com> <1480531092.4019.27.camel@mimir.webthing.com> To: dev@httpd.apache.org X-Mailer: Apple Mail (2.3124) X-CMAE-Envelope: MS4wfKtRmuQum67cGG37G0A/sC0ZhYgUVMMn+M0jiV1Gw97p+fSIj5sWkhtgzbtmyfbzBEJCV/7xFo6OFzEmEZkbukiw3VRnHZqHzF8kssZhnIpoEGBsjfDu u5N2A/Wx441fdcoB7qMcUWskAVsFkuI/y5rUA1SYrdusIrZ7kDmbSegE archived-at: Wed, 30 Nov 2016 19:18:37 -0000 Yeah, this is the real solution... mod_status should produce just JSON and there are addable filters (or providers) that take that canonical output and xlate it to whatever format the end-user wants. > On Nov 30, 2016, at 1:38 PM, Nick Kew wrote: > > On Wed, 2016-11-30 at 12:54 -0500, Jim Jagielski wrote: >> I'm thinking about adding JSON support to mod_status... >> the "plain" version output really stinks and lacks parity >> w/ the info we provide via HTML, and it would be nice >> to produce a really easily parseable format. >> >> Thoughts...? > > Ideally that should be the job of an output filter. > If mod_status were to generate a single standard-ish > format, like JSON or XML, a general-purpose filter > could generate other formats. > > -- > Nick Kew >