Re: how to get radosgw ops log

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

 



----- Original Message -----
> From: "码云" <wang.yong@xxxxxxxxxxx>
> To: "ceph-users" <ceph-users@xxxxxxxxxxxxxx>
> Sent: Thursday, March 30, 2017 9:25:54 AM
> Subject:  how to get radosgw ops log
> 
> Hi all,
> I have configured "rgw enable ops log = true" in ceph.conf,
> and now i can find it seems like to be storage into pool "default.rgw.log".
> But it's content can't be display in human-read format.
> Did here have any decode method or apis  to get the  rgw  ops log.
> 
> 
You can use the following radosgw-admin command:

radosgw-admin log show

For e.g., to get op logs for a specific bucket, the command will look like:

radosgw-admin log show --date=<date> --bucket-name=<bucket-name> --bucket-id=<bucket-id>

The bucket id can be fetched using:

radosgw-admin bucket stats

More information about the command can be found here: http://docs.ceph.com/docs/master/man/8/radosgw-admin/

Thanks,
Pritha
> _______________________________________________
> 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