Config reference specifies it should be a list of comma-delimited headers, so remove spaces: Comma-delimited list of HTTP headers to include with ops log entries.
Header names are case insensitive, and use the full header name with words separated by underscores.
-- Paul Jurco On Wed, Feb 12, 2025 at 9:43 PM Rok Jaklič <rjaklic@gmail.com> wrote:
What about something like this in rgw section in ceph.conf?
rgw_enable_ops_log = true rgw_log_http_headers = http_x_forwarded_for, http_expect, http_content_md5 rgw_ops_log_file_path = /var/log/ceph/mon1.rgw-ops.log
Rok
On Wed, Feb 12, 2025 at 2:19 PM Paul JURCO <paul.jurco@gmail.com> wrote:
Same here, it worked only after rgw service was restarted using this config: rgw_log_http_headers http_x_forwarded_for
-- Paul Jurco
On Wed, Feb 12, 2025 at 2:29 PM Ansgar Jazdzewski < a.jazdzewski@googlemail.com> wrote:
Hi folks,
i like to make sure that the RadosGW is using the X-Forwarded-For as source-ip for ACL's However i do not find the information in the logs:
i have set (using beast): ceph config set global rgw_remote_addr_param http_x_forwarded_for ceph config set global rgw_log_http_headers http_x_forwarded_for
https://docs.ceph.com/en/quincy/radosgw/config-ref/#confval-rgw_log_http_hea...
I hope someone can point me in the right direction!
Thanks, Ansgar _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io