forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
59 lines
13 KiB
HTML
59 lines
13 KiB
HTML
<a name="EN-US_TOPIC_0000001098654728"></a><a name="EN-US_TOPIC_0000001098654728"></a>
|
|
|
|
<h1 class="topictitle1">Audit Switch</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001098654728__s47eb5bd8caa94feb9ff1f36c224b687e"><h4 class="sectiontitle">audit_enabled</h4><p id="EN-US_TOPIC_0000001098654728__aef2d92e8217f43e89297515d68700048"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b29280198">Parameter description</strong>: Specifies whether to enable or disable the audit process. After the audit process is enabled, the auditing information written by the background process can be read from the pipe and written into audit files.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p2525314115220"><strong id="EN-US_TOPIC_0000001098654728__b7970141653017">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__af5fdd04694b94139b77678935e59917b"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b4938529">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001098654728__u37307aca970e4f57a86da97195ff9d75"><li id="EN-US_TOPIC_0000001098654728__l9d2712b9508b40a0bd91db2bfd42d262"><strong>on</strong> indicates that the auditing function is enabled.</li><li id="EN-US_TOPIC_0000001098654728__l68a9a22ff7ea4231a5feb76ea7314d4d"><strong>off</strong> indicates that the auditing function is disabled.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001098654728__aa56571112724460aaaf0a6e3f69d328b"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b48892289">Default value</strong>: <strong id="EN-US_TOPIC_0000001098654728__b842352706155328">on</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001098654728__sf2f5f4b08cc74ec4b8c0a8ec97ebd11c"><h4 class="sectiontitle">audit_data_format</h4><p id="EN-US_TOPIC_0000001098654728__a7f2e7b1674bc4a4492c1a69fb02c829d"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b1718825914921_3">Parameter description</strong>: Specifies the format of the audit log files. Currently, only the binary format is supported.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p71821632183417"><strong id="EN-US_TOPIC_0000001098654728__b120315189302">Type</strong>: POSTMASTER</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__af27d0eb0d89d4701bf93b862044bda28"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_a0cfb1dbc536346978ea1cb75731e06a7">Value range</strong>: a string</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__aa8d47c521d3246f8a3261267f0fb5e76"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b22573756155558_3">Default value</strong>: <strong id="EN-US_TOPIC_0000001098654728__b842352706155750">binary</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001098654728__s2146f187e2d448b8b2a8c81582e43435"><h4 class="sectiontitle">audit_rotation_interval</h4><p id="EN-US_TOPIC_0000001098654728__ad92596dc20c64ad8b8e1f52103215c3a"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b180355054710022">Parameter description</strong>: Specifies the interval of creating an audit log file. If the difference between the current time and the time when the previous audit log file is created is greater than the value of <strong>audit_rotation_interval</strong>, a new audit log file will be generated.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p10221149105218"><strong id="EN-US_TOPIC_0000001098654728__b182098211303">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__af7e1628845a54ee2833e5770d7636a2d"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b23455951">Value range</strong>: an integer ranging from 1 to <strong id="EN-US_TOPIC_0000001098654728__b1059787154151334">INT_MAX/60</strong>. The unit is min.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__a56aecdd3728440698821c85e4b253cd8"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b4605672135217_4">Default value</strong>: <strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_b84235270610214">1d</strong></p>
|
|
<div class="notice" id="EN-US_TOPIC_0000001098654728__note12519747101649"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001098654728__p45568863101649">Adjust this parameter only when required. Otherwise, <strong id="EN-US_TOPIC_0000001098654728__b84235270616042">audit_resource_policy</strong> may fail to take effect. To control the storage space and time of audit logs, set the <a href="#EN-US_TOPIC_0000001098654728__section939915522551">audit_resource_policy</a>, <a href="#EN-US_TOPIC_0000001098654728__s199c0d0827ad412287098d139191a00a">audit_space_limit</a>, and <a href="#EN-US_TOPIC_0000001098654728__section149961828185211">audit_file_remain_time</a> parameters.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001098654728__s214247c1322f40ffb2eab61f75542b40"><h4 class="sectiontitle">audit_rotation_size</h4><p id="EN-US_TOPIC_0000001098654728__a78b3b9ab53a644e993cf0015711748f4"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b18741162001078">Parameter description</strong>: Specifies the maximum capacity of an audit log file. If the total number of messages in an audit log exceeds the value of <strong id="EN-US_TOPIC_0000001098654728__b1914722655151358">audit_rotation_size</strong>, the server will generate a new audit log file.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p6268165818524"><strong id="EN-US_TOPIC_0000001098654728__b9411152119309">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__ad51a583b19f848df89fd278e37db1004"><strong id="EN-US_TOPIC_0000001098654728__b1168417908151431">Value range</strong>: an integer ranging from 1 to 1024. The unit is MB.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__aac267d1135be483da5cb2c138ff560ca"><strong id="EN-US_TOPIC_0000001098654728__b1066483212151438">Default value</strong>: <strong id="EN-US_TOPIC_0000001098654728__b8423527061629">10 MB</strong></p>
|
|
<div class="notice" id="EN-US_TOPIC_0000001098654728__note56551607101723"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001098654728__p156485354104">Adjust this parameter only when required. Otherwise, <strong id="EN-US_TOPIC_0000001098654728__b2128333410">audit_resource_policy</strong> may fail to take effect. To control the storage space and time of audit logs, set the <strong id="EN-US_TOPIC_0000001098654728__b84235270616057">audit_resource_policy</strong>, <strong id="EN-US_TOPIC_0000001098654728__b8423527061613">audit_space_limit</strong>, and <strong id="EN-US_TOPIC_0000001098654728__b8423527061619">audit_file_remain_time</strong> parameters.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001098654728__section939915522551"><a name="EN-US_TOPIC_0000001098654728__section939915522551"></a><a name="section939915522551"></a><h4 class="sectiontitle">audit_resource_policy</h4><p id="EN-US_TOPIC_0000001098654728__p74001852175510"><strong id="EN-US_TOPIC_0000001098654728__b84235270616228">Parameter description</strong>: Specifies the policy for determining whether audit logs are preferentially stored by space or time.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p10100374535"><strong id="EN-US_TOPIC_0000001098654728__b35831421163016">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p11401135217555"><strong id="EN-US_TOPIC_0000001098654728__b1331564267">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001098654728__ul1940255285510"><li id="EN-US_TOPIC_0000001098654728__li15402145285520"><strong id="EN-US_TOPIC_0000001098654728__b84235270616528">on</strong> indicates that audit logs are preferentially stored by space. A maximum of <a href="#EN-US_TOPIC_0000001098654728__s199c0d0827ad412287098d139191a00a">audit_space_limit</a> logs can be stored. </li><li id="EN-US_TOPIC_0000001098654728__li4403135220557"><strong id="EN-US_TOPIC_0000001098654728__b84235270616741">off</strong> indicates that audit logs are preferentially stored by time. A minimum duration of <a href="#EN-US_TOPIC_0000001098654728__section149961828185211">audit_file_remain_time</a> logs must be stored. If the value of <strong id="EN-US_TOPIC_0000001098654728__b141221538191213">audit_file_remain_time</strong> is too large, the disk space occupied by stored audit logs reaches the value of <strong id="EN-US_TOPIC_0000001098654728__b860517411316">audit_space_limit</strong>. In this case, the earliest audit files are deleted.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001098654728__p194041552115510"><strong id="EN-US_TOPIC_0000001098654728__b1884256269">Default value</strong>: <strong id="EN-US_TOPIC_0000001098654728__b84235270616103">on</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001098654728__section149961828185211"><a name="EN-US_TOPIC_0000001098654728__section149961828185211"></a><a name="section149961828185211"></a><h4 class="sectiontitle">audit_file_remain_time</h4><p id="EN-US_TOPIC_0000001098654728__p0997182815211"><strong id="EN-US_TOPIC_0000001098654728__b84235270611589">Parameter description</strong>: Specifies the minimum duration required for recording audit logs. This parameter is valid only when <a href="#EN-US_TOPIC_0000001098654728__section939915522551">audit_resource_policy</a> is set to <strong id="EN-US_TOPIC_0000001098654728__b842352706161412">off</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p56641415165315"><strong id="EN-US_TOPIC_0000001098654728__b587982153017">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p1699822816529"><strong id="EN-US_TOPIC_0000001098654728__b842352706161135">Value range</strong>: an integer ranging from 0 to 730. The unit is day. <strong id="EN-US_TOPIC_0000001098654728__b84235270616122">0</strong> indicates that the storage duration is not limited.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p1599822865212"><strong id="EN-US_TOPIC_0000001098654728__b1896293517535">Default value</strong>: <strong id="EN-US_TOPIC_0000001098654728__b842352706171710">90</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001098654728__s199c0d0827ad412287098d139191a00a"><a name="EN-US_TOPIC_0000001098654728__s199c0d0827ad412287098d139191a00a"></a><a name="s199c0d0827ad412287098d139191a00a"></a><h4 class="sectiontitle">audit_space_limit</h4><p id="EN-US_TOPIC_0000001098654728__a7726613d3fb54b94ab8bfcbb24f9e146"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b1168798544101111">Parameter description</strong>: Specifies the total disk space occupied by audit files.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p62888234535"><strong id="EN-US_TOPIC_0000001098654728__b8923521163020">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__a860225d64b064fc9982a92ab38ca1388"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b84235270695433">Value range</strong>: an integer ranging from <strong id="EN-US_TOPIC_0000001098654728__b84235270616143">1024 KB</strong> to <strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b84235270693449">1024 GB</strong>. The unit is KB.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__a04e313f9080a4f4da12ece86b1683ba7"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_ad5c25cbbd1714f72808abf2c5c26090c">Default value</strong>: <strong id="EN-US_TOPIC_0000001098654728__b842352706161418">1GB</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001098654728__s1d027ce79fe3474e8a145749e098c879"><h4 class="sectiontitle">audit_file_remain_threshold</h4><p id="EN-US_TOPIC_0000001098654728__aa1c7d6b045614f5898a2ab198bf3c1f5"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b735669631101249">Parameter description</strong>: Specifies the maximum number of audit files in the audit directory.</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__p1047943115530"><strong id="EN-US_TOPIC_0000001098654728__b782192219308">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__a3b2af4f24a674ab79a7ec789cd191af7"><strong id="EN-US_TOPIC_0000001098654728__en-us_topic_0059777744_en-us_topic_0058967712_b97646036110155">Value range</strong>: an integer ranging from 1 to 1048576</p>
|
|
<p id="EN-US_TOPIC_0000001098654728__a7ff47ac5107147698b08d973054d8a81"><strong id="EN-US_TOPIC_0000001098654728__b1714460529">Default value</strong>: <strong id="EN-US_TOPIC_0000001098654728__b1978387883">1048576</strong></p>
|
|
<div class="notice" id="EN-US_TOPIC_0000001098654728__note57606380101740"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001098654728__p48695377101740">Ensure that the value of this parameter is <strong id="EN-US_TOPIC_0000001098654728__b117624710176">1048576</strong>. If the value is changed, the <strong id="EN-US_TOPIC_0000001098654728__b1688910193176">audit_resource_policy</strong> parameter may not take effect. To control the storage space and time of audit logs, use the <strong id="EN-US_TOPIC_0000001098654728__b141718356174">audit_resource_policy</strong>, <strong id="EN-US_TOPIC_0000001098654728__b11588438201711">audit_space_limit</strong>, and <strong id="EN-US_TOPIC_0000001098654728__b1725034319178">audit_file_remain_time</strong> parameters.</p>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0937.html">Auditing</a></div>
|
|
</div>
|
|
</div>
|
|
|