Request Sampling
Context
Request sampling can record the access of client IP addresses and the type of requests from the client. Based on the statistics, you can identify the access traffic of client IP addresses and analyze the client write and query requests.
Parameter |
Type |
Description |
---|---|---|
flowcontrol.log.access.enabled |
Boolean |
Whether to collect statistics on the IP addresses of clients that accessed the ES cluster recently and the number of requests. The value can be:
|
flowcontrol.log.access.count |
Integer |
Number of client IP addresses that accessed a cluster recently. Value range: 0–100 Default value: 10 |
flowcontrol.log.file.enabled |
Boolean |
Whether to record the log details of each request to the background log file. The value can be:
|
- IP address statistics switches control whether to collect request type statistics and whether to enable logging.
- flowcontrol.log.access.enabled controls whether to collect statistics on client requests, including bulk write, search, and msearch requests.
- flowcontrol.log.file.enabled is the log access switch. Request details can be directly recorded in log files for audit analysis.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot