tagomoris/fluent-plugin-growthforecast — pull request #1 by katsyoshi (2012-07-15 12:08:10+00:00)
Title: ネストしたJSONに対応

以下のようなネストしたデータに対応しました．

```
2012-07-15 12:04:38 +0000 dstat.all: {"hostname":"omap","dstat":{"total-cpu-usage":{"usr":"99","sys":"1","idl":"0","wai":"0","hiq":"0","siq":null},"memory-usage":{"used":"98.5M","buff":"89.2M","cach":"202M 8","free":".2M"},"dsk/total":{"read":"0","writ":"0"},"net/total":{"recv":"78k","send":"1218B"}}}
````

設定ファイルは以下のようになります．
```
type growthforecast
gfapi_url http://localhost:5125/api/
service dstat
section cpu
name_nested_keys dstat.total-cpu-usage.usr, dstat.total-cpu-usage.sys, dstat.total-cpu-usage.idl,dstat.total-cpu-usage.wai
```