Show Table of Contents
3.8.6. 启用发送到 Syslog 服务器的管理接口审计日志
注意
如果要应用修改到受管域,请添加前缀
/host=HOST_NAME 到 /core-service 命令上。
过程 3.27. 启用发送到 Syslog 服务器的日志
创建一个名为
msyslog的 syslog 处理程序[standalone@localhost:9999 /]batch [standalone@localhost:9999 /]/core-service=management/access=audit/syslog-handler=mysyslog:add(formatter=json-formatter) [standalone@localhost:9999 /]/core-service=management/access=audit/syslog-handler=mysyslog/protocol=udp:add(host=localhost,port=514) [standalone@localhost:9999 /]run-batch
在 syslog 处理程序里添加一个引用。
[standalone@localhost:9999 /]/core-service=management/access=audit/logger=audit-log/handler=mysyslog:add
结果
管理接口的审计日志登记在 syslog 服务器上。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.