Hi Stephan, Currently only some of the fields in the HTTP header are exposed, and, sadly, "REMORE_ADDR" is not. Created the following PR: https://github.com/ceph/ceph/pull/54211 to expose all HTTP header fields to lua (note that you can also change them if you want). The fix is simple, so I would backport to "quincy" and "reef" once the PR is merged. Yuval On Wed, Oct 25, 2023 at 7:28 PM <stephan@gridscale.io> wrote:
Hi Ceph users,
currently I'm using the lua script feature in radosgw to send "put_obj" and "get_obj" requests stats to a mongo db. So far it's working quite well but I miss a field which is very important for us for traffic stats. Im looking for the HTTP_REMOTE-ADDR field which is available in the ops_log but couldn't find it in here https://docs.ceph.com/en/quincy/radosgw/lua-scripting/#request-fields
Does someone know how to get this field via lua script?
Cheers
Stephan _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io