lssyslogserver
Use the lssyslogserver command to return a concise list or a detailed view of syslog servers that are configured on the clustered system.
Syntax
Parameters
- -nohdr
- (Optional) By default, headings are displayed for each column of data in a concise
style view, and for each item of data in a detailed style view. The
-nohdr parameter suppresses the display of these
headings.Note: If there is no data to be displayed, headings are not displayed.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are space-separated. The
width of each column is set to the maximum possible width of each item of data. In a
detailed view, each item of data has its own row, and if the headers are displayed, the
data is separated from the header by a space. The -delim parameter
overrides this behavior. Valid input for the -delim parameter is a
one-byte character. If you enter
-delim :
on the command line, the colon character (:
) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter. - syslog_server_name | syslog_server_id
- (Optional) Specifies the name or ID of an existing syslog server. When you use this parameter, a detailed view of the specified syslog server is returned. If you do not specify a syslog server name or ID, then a concise view of all syslog servers is displayed.
Description
Use this command to display a concise list or a detailed view of syslog servers that are configured on the clustered system.
This table provides the attribute values that can be displayed as output view data.
Attribute | Description |
---|---|
id | Indicates the syslog server ID. The value must be a number. |
name | Indicates the syslog server name. The value must be an alphanumeric string. |
IP_address | Indicates the syslog server Internet Protocol (IP) address. The value must be a valid IP address. |
facility | Indicates the syslog server facility value. The value must be a number 0 - 7 but is blank for a CADF notification-enabled server. |
error | Indicates whether error messages are on. The values are
on or off . |
warning | Indicates whether warning messages are on. The values are
on or off . |
info | Indicates whether informational messages are on. The values
are on or off . |
cadf | Indicates whether CADF data reporting is enabled or not for
the syslog server. The values are on or
off . |
audit | Indicates whether this server receives CLI audit logs. The
values are on or off (default). |
login | Indicates whether this server receives authentication logs.
The values are on or off (default). |
protocol | Indicates the communication protocol that is used by this
server (or blank for default). The values are tcp or
udp (default). |
port | Indicates the communication port that is used by this server
(or blank for default). The value is an integer in the range of 1 - 65535. A value
of 514 indicates UDP protocol and a value of
6514 indicates TCP protocol. |
A concise invocation example
lssyslogserver -delim :
The concise resulting output:
id:name:IP_address:facility:error:warning:info:cadf:audit:login:protocol:port
0:syslog0:192.135.60.4::on:on:on:on:on:on:udp:514
1:newserver:syslogserver.example.com:4:on:off:off:on:on:off:tcp:6514
A detailed invocation example
lssyslogserver 0
The detailed resulting output:
id 0
name syslog0
IP_address 192.135.60.4
facility
error on
warning on
info on
cadf on
audit on
login on
protocol udp
port 514