forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
3.6 KiB
3.6 KiB
Recording Access Logs in Files
The traffic control function can record cluster access logs and write the logs to background log files. You can back up the logs to OBS for viewing. You can run the following command to enable the function of recording access logs to files:
PUT /_cluster/settings { "persistent": { "flowcontrol.log.file.enabled": true } }
Parameter |
Type |
Description |
---|---|---|
flowcontrol.log.file.enabled |
Boolean |
Indicates whether to record the log details of each request to the background log file. The value can be:
|
Parent topic: Flow Control 2.0