自助添加日志Remote记录配置
{#添加转发配置
:local ServerIP "1.1.1.1"
/system logging remove
/system logging action
remove
add name=CustomLog remote=$ServerIP target=remote
/system logging
add action=CustomLog topics=account
add action=CustomLog topics=firewall
}
{
#删除转发配置
:local ServerIP "1.1.1.1"
/system logging remove
/system logging action remove
}
页:
[1]