Remote Logging
To configure remote syslog to send syslog messages to a remote syslog server, follow the steps below.
Set remote syslog server.
admin
@nvos:~$ nv set system syslog server <IP address/hostname>(Optional) Set the destination port of the remote host.
admin
@nvos:~$ nv set system syslog server10.20.30.40port1234(Optional) Filter log messages according to an input regex.
admin
@nvos:~$ nv set system syslog server10.20.30.40filter include ERRORSet the minimum severity of the log level to info (it has no impact on local log level).
admin
@nvos:~$ nv set system syslog server10.20.30.40trap infoSet the protocol over which to communicate with remote syslog server
admin
@nvos:~$ nv set system syslog server10.20.30.40protocol tcp