通过HTTP方式接收日志
<p class="shortdesc">本文介绍如何配置使平台通过HTTP方式接收日志。</p>
<section class="section prereq" id="byHTTP__prereq_imd_tzl_rsb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已购买安全日志审计实例。</p>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/log-audit" target="_blank" rel="external noopener">安全日志审计SLA控制台</a>,进入<span class="keyword wintitle">实例列表</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击目标实例<span class="ph uicontrol"> 操作</span>列的<span class="ph uicontrol">管理</span>,进入安全日志审计控制台。</span>
<div class="itemgroup info">
<img class="image" id="byHTTP__d80e53" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222803112057-1ecc508f988a.png" width="830">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">在页面上边栏选择<span class="ph uicontrol">系统</span>,在左侧菜单栏选择<span class="ph menucascade"><span class="ph uicontrol">系统配置</span><abbr> > </abbr><span class="ph uicontrol">日志接收</span></span>,进入<span class="ph uicontrol">日志接收</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">选择<span class="ph uicontrol">日志接收</span>页签,单击<span class="ph menucascade"><span class="ph uicontrol">新增</span><abbr> > </abbr><span class="ph uicontrol">Http</span></span>,进入<span class="ph uicontrol">http</span>页面。</span>
<div class="itemgroup info">
<div class="p">
<img class="image" id="byHTTP__image_pmq_ymt_4sb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222803112056-1f42293895e7.png" width="200">
</div>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">根据以下信息,配置http协议参数,配置完成后单击<span class="ph uicontrol">保存</span>。</span>
<div class="itemgroup info">
<div class="p">
<img class="image" id="byHTTP__image_j3m_zmt_4sb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222803112056-1138afd79755.png" width="400">
</div>
<table class="table" id="byHTTP__table_u3z_mcf_4sb"><caption></caption><colgroup><col><col></colgroup><thead class="thead">
<tr class="row">
<th class="entry colsep-1 rowsep-1" id="byHTTP__table_u3z_mcf_4sb__entry__1">
<p class="p"> 配置项 </p>
</th>
<th class="entry colsep-1 rowsep-1" id="byHTTP__table_u3z_mcf_4sb__entry__2">
<p class="p"> 说明 </p>
</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__1 ">
<p class="p"> 端口 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__2 ">
<p class="p"> 平台用来接收日志的端口。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__1 ">
<p class="p"> HTTPS </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__2 ">
<p class="p"> 选择是否启用HTTPS协议接收日志,不启用则只通过HTTP协议接收。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__1 ">
<p class="p"> 通信压缩 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__2 ">
<p class="p"> 是否启用通信压缩。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__1 ">
<p class="p"> 证书路径 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__2 ">
<p class="p"> 授权证书的存储路径,不启用HTTPS协议则无需配置。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__1 ">
<p class="p"> 证书类型 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__2 ">
<p class="p"> 授权证书的类型,不启用HTTPS协议则无需配置。 </p>
</td>
</tr>
<tr class="row">
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__1 ">
<p class="p"> 证书密码 </p>
</td>
<td class="entry colsep-1 rowsep-1" headers="byHTTP__table_u3z_mcf_4sb__entry__2 ">
<p class="p"> 授权证书的密码,不启用HTTPS协议则无需配置。 </p>
</td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击页面右上角的重启按钮重启SOC服务,使配置生效。</span>
<div class="itemgroup info">
<div class="note note note_note"><span class="note__title">说明:</span> 修改网络配置后,需必须重启SOC服务才能使配置生效。</div>
</div>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!