ONTAP 9.13.1 commands

cluster log-forwarding show

Display log forwarding destinations

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

Description

The cluster log-forwarding show command displays log forwarding information:

  • Destination (IPv4/IPv6/hostname)

  • Port number

  • List of log classes

  • Facility

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-destination <Remote InetAddress>] - Destination Host

If this optional parameter is specified, the command displays information about the forwarding destinations with the specified host name, IPv4 or IPv6 address.

[-port <integer>] - Destination Port

If this optional parameter is specified, the command displays information about the forwarding destinations with the specified ports.

[-protocol {udp-unencrypted|tcp-unencrypted|tcp-encrypted}] - Log Forwarding Protocol

If this optional parameter is specified, the command displays information about the forwarding destinations with the specified protocols.

[-ipspace <IPspace>] - IPspace of Destination

If this optional parameter is specified, the command displays information about the IPspace to which the forwarding destinations belong.

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

If this optional parameter is specified, the command displays information about the forwarding destinations with the specified verify-server values.

[-facility <Syslog Facility>] - Syslog Facility

If this optional parameter is specified, the command displays information about the forwarding destinations with the specified facility.

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

Use this optional parameter to display information about the Syslog destination that has the specified Syslog message format.

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

Use this optional parameter to display information about the Syslog destination that has the specified Syslog timestamp format override.

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

Use this optional parameter to display information about the Syslog destination that has the specified Syslog hostname format override.

Examples

The following example displays information about the log forwarding
cluster-1::> cluster log-forwarding show
Verify  Syslog
Destination Host         Port   Protocol        Server  Facility
------------------------ ------ --------------- ------  --------
192.168.0.1              514    udp-unencrypted false   user

cluster-1::> cluster log-forwarding show -instance
Destination Host: 192.168.0.1
                   Destination Port: 514
            Log Forwarding Protocol: udp-unencrypted
             IPspace of Destination: Default
 Verify Destination Server Identity: false
                    Syslog Facility: user
              Syslog Message Format: legacy-fujitsu
   Syslog Timestamp Format Override: no-override
    Syslog Hostname Format Override: no-override
Top of Page