Home >

LunaSH Command Reference Guide > LunaSH Commands > audit > audit remotehost add

audit remotehost add

Add an identified Remote Logging Server.

Syntax

audit remotehost add -host <hostnameoripaddress> [-protocol <protocol>] [-port <port>]   

Parameter Shortcut Description
-host -h Specifies the Remote Logging Server Host Name or IP address.
-port -po

Specifies the server port to use for the Remote Logging Server.  

Range: 0 to 65535

Default: 514.

-protocol -pr

Specifies the protocol for remote logging with the specified server.   

Valid values: tcp, udp

Default: udp

Example

lunash:>audit remotehost add -host mylogginghost -protocol tcp -port 1660 
Remote logging server added.

Shutting down kernel logger:                               [  OK  ]
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
Starting kernel logger:                                    [  OK  ]
Saving firewall rules to /etc/sysconfig/iptables:          [  OK  ]

Command Result : 0 (Success)