doc-exports/docs/css/umn/css_01_0195.html
Wuwan, Qi 050b395397 CSS UMN 23.2.1 20230926
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com>
Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-01-10 14:23:15 +00:00

52 lines
5.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="css_01_0195"></a><a name="css_01_0195"></a>
<h1 class="topictitle1">Request Sampling</h1>
<div id="body0000001435176996"><div class="section" id="css_01_0195__en-us_topic_0000001435176996_section1693152051218"><h4 class="sectiontitle">Context</h4><p id="css_01_0195__en-us_topic_0000001435176996_p1739951703012">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.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0195__en-us_topic_0000001435176996_table119653339296" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Request statistics parameters</caption><thead align="left"><tr id="css_01_0195__en-us_topic_0000001435176996_row4965733122914"><th align="left" class="cellrowborder" valign="top" width="33.5033503350335%" id="mcps1.3.1.3.2.4.1.1"><p id="css_01_0195__en-us_topic_0000001435176996_p2966183317293">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.58165816581658%" id="mcps1.3.1.3.2.4.1.2"><p id="css_01_0195__en-us_topic_0000001435176996_p179661933182914">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.91499149914991%" id="mcps1.3.1.3.2.4.1.3"><p id="css_01_0195__en-us_topic_0000001435176996_p8966123313297">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0195__en-us_topic_0000001435176996_row59660338299"><td class="cellrowborder" valign="top" width="33.5033503350335%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0195__en-us_topic_0000001435176996_p653813441717">flowcontrol.log.access.enabled</p>
</td>
<td class="cellrowborder" valign="top" width="16.58165816581658%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0195__en-us_topic_0000001435176996_p19538248171">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="49.91499149914991%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0195__en-us_topic_0000001435176996_p7538134181717">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:</p>
<ul id="css_01_0195__en-us_topic_0000001435176996_ul1710319303196"><li id="css_01_0195__en-us_topic_0000001435176996_li5103133010198"><strong id="css_01_0195__en-us_topic_0000001435176996_b3987153304310">true</strong></li><li id="css_01_0195__en-us_topic_0000001435176996_li1748743371912"><strong id="css_01_0195__en-us_topic_0000001435176996_b195401535174312">false</strong> (default value)</li></ul>
</td>
</tr>
<tr id="css_01_0195__en-us_topic_0000001435176996_row7966933172918"><td class="cellrowborder" valign="top" width="33.5033503350335%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0195__en-us_topic_0000001435176996_p153818418177">flowcontrol.log.access.count</p>
</td>
<td class="cellrowborder" valign="top" width="16.58165816581658%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0195__en-us_topic_0000001435176996_p185383413173">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.91499149914991%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0195__en-us_topic_0000001435176996_p1653894131717">Number of client IP addresses that accessed a cluster recently.</p>
<p id="css_01_0195__en-us_topic_0000001435176996_p1953824111712">Value range: 0100</p>
<p id="css_01_0195__en-us_topic_0000001435176996_p5538144191712">Default value: <strong id="css_01_0195__en-us_topic_0000001435176996_b1542815297446">10</strong></p>
</td>
</tr>
<tr id="css_01_0195__en-us_topic_0000001435176996_row19966533112920"><td class="cellrowborder" valign="top" width="33.5033503350335%" headers="mcps1.3.1.3.2.4.1.1 "><p id="css_01_0195__en-us_topic_0000001435176996_p1553811461715">flowcontrol.log.file.enabled</p>
</td>
<td class="cellrowborder" valign="top" width="16.58165816581658%" headers="mcps1.3.1.3.2.4.1.2 "><p id="css_01_0195__en-us_topic_0000001435176996_p55389481717">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="49.91499149914991%" headers="mcps1.3.1.3.2.4.1.3 "><p id="css_01_0195__en-us_topic_0000001435176996_p75381745179">Whether to record the log details of each request to the background log file. The value can be:</p>
<ul id="css_01_0195__en-us_topic_0000001435176996_ul1015915575192"><li id="css_01_0195__en-us_topic_0000001435176996_li616025719198"><strong id="css_01_0195__en-us_topic_0000001435176996_b1949054317458">true</strong></li><li id="css_01_0195__en-us_topic_0000001435176996_li91601057111913"><strong id="css_01_0195__en-us_topic_0000001435176996_b651324611452">false</strong> (default value)</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="css_01_0195__en-us_topic_0000001435176996_note940541217334"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="css_01_0195__en-us_topic_0000001435176996_ul2130154618203"><li id="css_01_0195__en-us_topic_0000001435176996_li1270724918200">IP address statistics switches control whether to collect request type statistics and whether to enable logging.</li><li id="css_01_0195__en-us_topic_0000001435176996_li2015145316206"><span class="parmname" id="css_01_0195__en-us_topic_0000001435176996_parmname1319953182019"><b>flowcontrol.log.access.enabled</b></span> controls whether to collect statistics on client requests, including bulk write, search, and msearch requests.</li><li id="css_01_0195__en-us_topic_0000001435176996_li10130114642011"><span class="parmname" id="css_01_0195__en-us_topic_0000001435176996_parmname11413127218"><b>flowcontrol.log.file.enabled</b></span> is the log access switch. Request details can be directly recorded in log files for audit analysis.</li></ul>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0191.html">Flow Control 2.0</a></div>
</div>
</div>