Re: Radosgw log Custom Headers

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

 



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




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


  Powered by Linux