forked from docs/doc-exports
Reviewed-by: Goncharov, Artem <artem.goncharov@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
116 lines
12 KiB
HTML
116 lines
12 KiB
HTML
<a name="css_01_0080"></a><a name="css_01_0080"></a>
|
|
|
|
<h1 class="topictitle1">Configuring Parameters</h1>
|
|
<div id="body0000001334739193"><p id="css_01_0080__p8060118">CSS allows you to modify configurations in the <strong id="css_01_0080__b720118227319">elasticsearch.yml</strong> file on the CSS console. You need to restart the cluster for the modifications to take effect.</p>
|
|
<div class="section" id="css_01_0080__section1846352754911"><h4 class="sectiontitle">Modifying Parameter Configurations</h4><ol id="css_01_0080__ol8194123694919"><li id="css_01_0080__li1142971461017">Log in to the CSS management console.</li><li id="css_01_0080__li174291147108">On the <span class="wintitle" id="css_01_0080__wintitle341641211295"><b>Clusters</b></span> page, click the name of the cluster for which you want to modify parameter configurations. The <strong id="css_01_0080__b3417312162915">Basic Information</strong> page is displayed.</li><li id="css_01_0080__li1277611425215">Click <strong id="css_01_0080__b1633864873010">Parameter Configurations</strong> and modify parameters of the corresponding module based on your needs.<div class="p" id="css_01_0080__p19764317244">
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0080__table53371628162416" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Module parameters</caption><thead align="left"><tr id="css_01_0080__row103280287249"><th align="left" class="cellrowborder" valign="top" width="16.541654165416542%" id="mcps1.3.2.2.3.2.1.2.4.1.1"><p id="css_01_0080__p932842832419">Module Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.15261526152615%" id="mcps1.3.2.2.3.2.1.2.4.1.2"><p id="css_01_0080__p33281528192417">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.3057305730573%" id="mcps1.3.2.2.3.2.1.2.4.1.3"><p id="css_01_0080__p20328132810245">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_01_0080__row19330192810243"><td class="cellrowborder" rowspan="6" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p183291528122417">Cross-domain Access</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p11329162882415">http.cors.allow-credentials</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="css_01_0080__p17329162892417">Whether to return the Access-Control-Allow-Credentials of the header during cross-domain access</p>
|
|
<p id="css_01_0080__p16330628132414">Value: <strong id="css_01_0080__b5769192812130">true</strong> and <strong id="css_01_0080__b1425824041314">false</strong></p>
|
|
<p id="css_01_0080__p11330112816244">Default value: <strong id="css_01_0080__b73311441121319">false</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row1330428132419"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p933042832410">http.cors.allow-origin</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p333032802416">Origin IP address allowed for cross-domain access, for example, <strong id="css_01_0080__b15610101917391">122.122.122.122:9200</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row8330728192417"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p63301428132410">http.cors.max-age</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p73301128122415">Cache duration of the browser. The cache is automatically cleared after the time range you specify.</p>
|
|
<p id="css_01_0080__p19330328172417">Unit: s</p>
|
|
<p id="css_01_0080__p8330328142412">Default value: <strong id="css_01_0080__b187511217152016">1,728,000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row133010281246"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p73307287241">http.cors.allow-headers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p933022852417">Headers allowed for cross-domain access, including <strong id="css_01_0080__b1976310163919">X-Requested-With</strong>, <strong id="css_01_0080__b3802192113913">Content-Type</strong>, and <strong id="css_01_0080__b178683443912">Content-Length</strong>. Use commas (,) and spaces to separate headers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row123301728142417"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p833013283249">http.cors.enabled</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p63301228112415">Whether to allow cross-domain access</p>
|
|
<p id="css_01_0080__p11330162812246">Value: <strong id="css_01_0080__b5192192382110">true</strong> and <strong id="css_01_0080__b3193423172113">false</strong></p>
|
|
<p id="css_01_0080__p123302028142416">Default value: <strong id="css_01_0080__b1979382562110">false</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row833113287248"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p13301828172410">http.cors.allow-methods</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p8330132814241">Methods allowed for cross-domain access, including <strong id="css_01_0080__b210620233371">OPTIONS</strong>, <strong id="css_01_0080__b19139257377">HEAD</strong>, <strong id="css_01_0080__b1664917277374">GET</strong>, <strong id="css_01_0080__b1543314299371">POST</strong>, <strong id="css_01_0080__b3706133110374">PUT</strong>, and <strong id="css_01_0080__b6825163318371">DELETE</strong>. Use commas (,) and spaces to separate methods.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row12333192812418"><td class="cellrowborder" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p183319285248">Reindexing</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p33319289247">reindex.remote.whitelist</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="css_01_0080__p233152818246">Configured for migrating data from the current cluster to the target cluster through the reindex API. The example value is 122.122.122.122:9200.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row12334228112416"><td class="cellrowborder" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p1433382862410">Custom Cache</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p1633332814245">indices.queries.cache.size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="css_01_0080__p17333112812243">Cache size in the query phase</p>
|
|
<p id="css_01_0080__p73331128162414">Value range: 1 to 100</p>
|
|
<p id="css_01_0080__p7333928142415">Unit: %</p>
|
|
<p id="css_01_0080__p63332028162413">Default value: <strong id="css_01_0080__b3745444181210">10%</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row633432813246"><td class="cellrowborder" rowspan="3" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p83349283241">Queue Size in a Thread Pool</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p9334132882411">thread_pool.bulk.queue_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="css_01_0080__p1433414283242">Queue size in the bulk thread pool. The value is an integer.</p>
|
|
<p id="css_01_0080__p17334192813241">Default value: <strong id="css_01_0080__b28203309257">200</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row1233416288247"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p2334828162416">thread_pool.write.queue_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p633452822414">Queue size in the write thread pool. The value is an integer.</p>
|
|
<p id="css_01_0080__p1334122819247">Default value: <strong id="css_01_0080__b13205173914442">200</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row83359287248"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p14334182852412">thread_pool.force_merge.size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p11334102822414">Queue size in the force merge thread pool. The value is an integer.</p>
|
|
<p id="css_01_0080__p233432852417">Default value: <strong id="css_01_0080__b102681458202517">1</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0080__row103371728132417"><td class="cellrowborder" valign="top" width="16.541654165416542%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="css_01_0080__p1933510289248">Customize</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.15261526152615%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="css_01_0080__p33361528142418">You can add parameters based on your needs.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.3057305730573%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="css_01_0080__p13364287245">Customized parameters</p>
|
|
<div class="note" id="css_01_0080__note19337142813249"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="css_01_0080__ul19337192817245"><li id="css_01_0080__li133361128112414">Enter multiple values in the format as <strong id="css_01_0080__b85254277475">[value1, value2, value3...]</strong>.</li><li id="css_01_0080__li133622814249">Separate values by commas (,) and spaces.</li><li id="css_01_0080__li333662862413">Colons (:) are not allowed.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</li><li id="css_01_0080__li12682102113577">Click <strong id="css_01_0080__b84235270615514">Submit</strong>.<p id="css_01_0080__p127061413145811">In the displayed <strong id="css_01_0080__b9519193682717">Submit Configuration</strong> dialog box, select the box indicating "I understand that the modification will take effect after the cluster is restarted." and click <strong id="css_01_0080__b18733839123017">Yes</strong>.</p>
|
|
<p id="css_01_0080__p38031814818">You can view the modification records on the displayed page. The system displays a maximum of 20 records.</p>
|
|
<div class="note" id="css_01_0080__note137981937131317"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_01_0080__p14798737101313">You need to restart the cluster after modification. If you do not restart the cluster after modifying the parameter configurations, <strong id="css_01_0080__b16253355914">Configuration unupdated</strong> is displayed in the <strong id="css_01_0080__b15176155775">Task Status</strong> column on the <strong id="css_01_0080__b179111142816">Clusters</strong> page.</p>
|
|
<p id="css_01_0080__p1594134082213">If you restart the cluster after the modification, <strong id="css_01_0080__b1400811181115">Task Status</strong> displays <strong id="css_01_0080__b46078383115">Configuration error</strong>, the parameter configuration file fails to be modified.</p>
|
|
</div></div>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0009.html">Managing Elasticsearch Clusters</a></div>
|
|
</div>
|
|
</div>
|
|
|