Re: retrieving usage information via admin API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Mike, "rgw enable usage log = true" did it.


On Thu, Oct 10, 2013 at 12:50 PM, Mike O'Toole <mike.otoole@xxxxxxxxxxx> wrote:

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


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

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux