hi folks, I got it to work with the mentioned changes. My fault was to look for the log in the `rgw_ops_log_file_path` however i would love to have the custom headers as additional values in the beast log-output we can verify if the fields will make its way into the radosgw. I also mage a suggestion to change the documentation for rgw_remote_addr_param and rgw_log_http_headers cheers Ansgar Am Do., 13. Feb. 2025 um 11:30 Uhr schrieb Paul JURCO <paul.jurco@xxxxxxxxx>: > > 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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxxxxx> 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_headers >>> > >>> > I hope someone can point me in the right direction! >>> > >>> > Thanks, >>> > Ansgar >>> > _______________________________________________ >>> > ceph-users mailing list -- ceph-users@xxxxxxx >>> > To unsubscribe send an email to ceph-users-leave@xxxxxxx >>> > >>> _______________________________________________ >>> ceph-users mailing list -- ceph-users@xxxxxxx >>> To unsubscribe send an email to ceph-users-leave@xxxxxxx _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx