Yes, you need to enabling usage logging in your ceph.conf ... something like: rgw enable usage log = true rgw usage log tick interval = 30 rgw usage log flush threshold = 1024 rgw usage max shards = 32 rgw usage max user shards = 1 You can find more info here: http://ceph.com/docs/master/radosgw/config-ref/ Mike Date: Thu, 10 Oct 2013 11:17:37 +0100 From: wateringcan@xxxxxxxxx To: ceph-users@xxxxxxxxxxxxxx Subject: Re: retrieving usage information via admin API Hi All,
The admin API is working fine for me (I've tested adding users, etc.) however when I attempt to query (GET) /admin/usage?format=json I simply receive the following back: {"entries":[],"summary":[]} Is there some configuration I need to make to radosgw or elsewhere to capture and or return the responses outlined on http://ceph.com/docs/master/radosgw/adminops/#response-entities?
Thanks! -Matt _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com