Re: V/v Log IP clinet in rados gateway log

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

 



On 10/29/19 3:50 PM, tuan dung wrote:
I want to log IP client to rados gateway log to check information about loadbalancing and other things. I using LB before rados gateway nodes, what need to be done  for configuration in rados gateway?

You need to setup `rgw_log_http_headers` option.


```

{
    "option": {
        "name": "rgw_log_http_headers",
        "type": "std::string",
        "level": "basic",
        "desc": "List of HTTP headers to log",
        "long_desc": "A comma delimited list of HTTP headers to log when seen, ignores case (e.g., http_x_forwarded_for).",
        "default": "",
        "daemon_default": "",
        "tags": [],
        "services": [
            "rgw"
        ],
        "see_also": [],
        "enum_values": [],
        "min": "",
        "max": ""
    }
}

```



k
_______________________________________________
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