Skip to main content

cluster log-forwarding modify

Contributors
Suggest changes

Modify log forwarding destination settings

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The cluster log-forwarding modify command modifies log forwarding destinations for remote logging.

Parameters

-destination <Remote InetAddress> - Destination Host

The host name or IPv4 or IPv6 address of the server to be modified.

-port <integer> - Destination Port

The port that the destinations servers listen on.

[-ipspace <IPspace>] - IPspace of Destination

The IPspace of the destination server.

[-verify-server {true|false}] - Verify Destination Server Identity

When this parameter is set to true , the identity of the log forwarding destination is verified by validating its certificate. The value can be set to true only when the tcp-encrypted value is selected in the protocol field. When this value is true the remote server might be validated by OCSP. The OCSP validation for cluster logs is controlled with the security config ocsp enable -app audit_log and security config ocsp disable -app audit_log .

[-facility <Syslog Facility>] - Syslog Facility

The Syslog facility to use for the forwarded logs.

[-message-format {legacy-netapp|rfc-5424}] - Syslog Message Format

Use this parameter to specify a new Syslog message format to replace the current message format.

[-timestamp-format-override {no-override|rfc-3164|iso-8601-utc|iso-8601-local-time}] - Syslog Timestamp Format Override

Use this parameter to override the default Syslog timestamp format (based on the message-format parameter).

[-hostname-format-override {no-override|fqdn|hostname-only}] - Syslog Hostname Format Override

Use this parameter to override the default Syslog hostname format (based on the message-format parameter).

Examples

This example modifies the facility of audit logs that are forwarded to the destination server at address 192.168.0.1, port 514.

cluster1::> cluster log-forwarding modify -destination 192.168.0.1 -port 514 -facility local1