Filter out RGW keep-alive HTTP and usage log

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

 



Hi list,


We have a 2 Luminous RGW running behind an F5 balancer. Every couple of seconds the F5 balancer send a keep-alive request to the RGW and saturate the Civetweb log with http entries, making it very difficult to troubleshoot users connection. Example:


172.16.212.86 - - [24/Sep/2018:11:58:52 +1000] "GET / HTTP/1.1" 200 0 - -
172.16.212.85 - - [24/Sep/2018:11:58:55 +1000] "GET / HTTP/1.1" 200 0 - -
172.16.212.86 - - [24/Sep/2018:11:58:57 +1000] "GET / HTTP/1.1" 200 0 - -
172.16.212.85 - - [24/Sep/2018:11:59:00 +1000] "GET / HTTP/1.1" 200 0 - -
172.16.212.86 - - [24/Sep/2018:11:59:03 +1000] "GET / HTTP/1.1" 200 0 - -

Is there a way to stop RGW from logging entries from these specific monitoring IP?

In addition, when enable `usage stat`, the stats in `usage show` also records `anonymous` user.
 $radosgw-admin usage show
{
    "entries": [
        {
            "user": "anonymous",
            "buckets": [
                {
                    "bucket": "",
                    "time": "2018-09-24 00:00:00.000000Z",
                    "epoch": 1537747200,
                    "owner": "anonymous",
                    "categories": [
                        {
                            "category": "list_buckets",
                            "bytes_sent": 716686,
                            "bytes_received": 0,
                            "ops": 3349,
                            "successful_ops": 3349
                        }
                    ]
                }
            ]
        }
    ],
    "summary": [
        {
            "user": "anonymous",
            "categories": [
                {
                    "category": "list_buckets",
                    "bytes_sent": 716686,
                    "bytes_received": 0,
                    "ops": 3349,
                    "successful_ops": 3349
                }
            ],
            "total": {
                "bytes_sent": 716686,
                "bytes_received": 0,
                "ops": 3349,
                "successful_ops": 3349
            }
        }
    ]
}

Is there a config settings I can specific to disable usage stat for `anonymous`? I also couldn't use `usage trim --uid=anonymous` because that user does not exist in the system.


Best regards,

Nhat Ngo | DevOps Engineer

University of Melbourne, VIC

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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