nv show system syslog
|
|
nv show system syslog Shows the syslog configuration: the log format, the remote servers, and the selectors. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog |
|
|
Related Commands |
nv show system log rotation |
|
|
Notes |
|
|
nv show system syslog format
|
|
nv show system syslog format Shows the syslog format. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/format |
|
|
Related Commands |
nv show system log rotation |
|
|
Notes |
|
|
nv show system syslog server
|
|
nv show system syslog server Shows the remote syslog servers. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/server |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system syslog server id
|
|
nv show system syslog server <server-id> Shows the configuration of a remote syslog server. |
|
|
Syntax Description |
server-id |
The IPv4 address, IPv6 address, or hostname of the remote syslog server. |
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/server/<server-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system syslog selector
|
|
nv show system syslog selector Shows all syslog selectors with their severity, filters, and rate limits. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/selector |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system syslog selector id
|
|
nv show system syslog selector <selector-id> Shows the configuration of a specific selector, including the severity, facility, and rate limits. |
|
|
Syntax Description |
selector-id |
The selector name. |
|
Default |
N/A |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/selector/<selector-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system syslog selector id filter
|
|
nv show system syslog selector <selector-id> filter Shows the filter rules of the selector, including the match patterns and actions. |
|
|
Syntax Description |
selector-id |
The selector name. |
|
Default |
N/A |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/filter |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system syslog selector id filter id
|
|
nv show system syslog selector <selector-id> filter <filter-id> Shows the operational and applied values of a specific filter of the selector. |
|
|
Syntax Description |
selector-id |
The selector name. |
|
Syntax Description |
filter-id |
The filter priority: 1–65535. |
|
Default |
N/A |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/filter/<filter-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system syslog selector id rate-limit
|
|
nv show system syslog selector <selector-id> rate-limit Shows the burst and interval rate-limit values of the selector. |
|
|
Syntax Description |
selector-id |
The selector name. |
|
Default |
N/A |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/rate-limit |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system syslog server id selector
|
|
nv show system syslog server <server-id> selector Shows the selectors attached to the syslog server, with their priorities. |
|
|
Syntax Description |
server-id |
The IPv4 address, IPv6 address, or hostname of the remote syslog server. |
|
Default |
N/A |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/server/<server-id>/selector |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system syslog server id selector id
|
|
nv show system syslog server <server-id> selector <priority-id> Shows the selector attached to the syslog server with the specified priority. |
|
|
Syntax Description
|
server-id |
The IPv4 address, IPv6 address, or hostname of the remote syslog server. |
|
priority-id |
The selector priority: 1–65535. |
|
|
Default |
N/A |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/syslog/server/<server-id>/selector/<priority-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv unset system syslog
|
|
nv unset system syslog Removes the syslog configuration: the format, the remote servers, and the selectors. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/syslog |
|
|
Related Commands |
nv show system syslog |
|
|
Notes |
|
|
nv set/unset system syslog format
|
|
nv set system syslog format standard
Sets the log format to standard. To use the WebTrends Enhanced Log Format (WELF), set a WELF firewall name (nv set system syslog format welf firewall-name).
|
|
|
Syntax Description |
N/A |
|
|
Default |
standard |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/format |
|
|
Related Commands |
nv set system syslog format welf firewall-name |
|
|
Notes |
|
|
nv set/unset system syslog format welf firewall-name
|
|
nv set system syslog format welf firewall-name <name>
Sets the log format to WELF with the specified firewall name.
|
|
|
Syntax Description |
name |
The firewall name to include in WELF log messages. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/format/welf |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv unset system syslog server
|
|
nv unset system syslog server Removes all remote syslog servers. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/syslog/server |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog server id
|
|
nv set system syslog server <server-id>
Adds a remote syslog server.
|
|
|
Syntax Description |
server-id |
The IPv4 address, IPv6 address, or hostname of the remote syslog server. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/server/<server-id>
|
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog server id port
|
|
nv set system syslog server <server-id> port <port-number>
Sets the port for communication with the remote syslog server.
|
|
|
Syntax Description |
server-id |
The IPv4 address, IPv6 address, or hostname of the remote syslog server. |
|
port-number |
Port number of the remote syslog server: 1–65535 |
|
|
Default |
514 |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/server/<server-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog server id protocol
|
|
nv set system syslog server <server-id> protocol [tcp | udp]
Sets the protocol for communication with the remote syslog server: tcp or udp.
|
|
|
Syntax Description |
server-id |
The IPv4 address, IPv6 address, or hostname of the remote syslog server. |
|
Default |
udp |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/server/<server-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog server id vrf
|
|
nv set system syslog server <server-id> vrf [default | mgmt]
Sets the VRF for communication with the remote syslog server.
|
|
|
Syntax Description |
server-id |
The IPv4 address, IPv6 address, or hostname of the remote syslog server. |
|
Default |
default |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/server/<server-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv unset system syslog selector
|
|
nv unset system syslog selector Removes all syslog selectors. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/syslog/selector |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog selector id
|
|
nv set system syslog selector <selector-id>
Creates a syslog selector.
|
|
|
Syntax Description |
selector-id |
The selector name. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>
|
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog selector id severity
|
|
nv set system syslog selector <selector-id> severity <level>
Sets the minimum severity level of the log messages that the selector sends.
|
|
|
Syntax Description |
selector-id |
The selector name. |
|
level |
The minimum severity level: debug, info, notice, warn, error, or critical. |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/severity |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog selector id program-name
|
|
nv set system syslog selector <selector-id> program-name <value>
Sets the program name filter of the selector: the selector sends only log messages from this application or program.
|
|
|
Syntax Description |
selector-id |
The selector name. |
|
|
value |
The application or program name; for example, switchd. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/program-name |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog selector id facility
|
|
nv set system syslog selector <selector-id> facility <name>
Sets the syslog facility (log source category) of the selector.
|
|
|
Syntax Description |
selector-id |
The selector name. |
|
|
name |
The log source category: auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, security, syslog, user, uucp, local0, local1, local2, local3, local4, local5, local6, or local7. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/facility |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv unset system syslog selector id filter
|
|
nv unset system syslog selector <selector-id> filter Removes all filters of the selector. |
|
|
Syntax Description |
selector-id |
The selector name. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/filter |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set system syslog selector id filter id
|
|
nv set system syslog selector <selector-id> filter <filter-id>
Creates a filter with the specified priority in the selector. The selector applies the filters in priority order.
|
|
|
Syntax Description |
selector-id |
The selector name. |
|
|
filter-id |
The filter priority: 1–65535. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/filter/<filter-id>
|
|
|
Related Commands |
|
|
|
Notes |
You must set both the match condition and the action of the filter. |
|
nv set system syslog selector id filter id match
|
|
nv set system syslog selector <selector-id> filter <filter-id> match <match-string> Sets the match condition of a filter. |
|
|
Syntax Description |
selector-id |
The selector name. |
|
|
filter-id |
The filter priority: 1–65535. |
|
|
match-string |
The string or regular expression to match in log messages. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/filter/<filter-id>/match |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set system syslog selector id filter id action
|
|
nv set system syslog selector <selector-id> filter <filter-id> action <value>
Sets the action of a filter: include or exclude the log messages that match. |
|
|
Syntax Description |
selector-id |
The selector name. |
|
|
filter-id |
The filter priority: 1–65535. |
|
|
value |
The action: include or exclude. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/filter/<filter-id>/action |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv unset system syslog selector id rate-limit
|
|
nv unset system syslog selector <selector-id> rate-limit Removes the rate-limit settings of the selector. |
|
|
Syntax Description |
selector-id |
The selector name. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/rate-limit |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog selector id rate-limit burst
|
|
nv set system syslog selector <selector-id> rate-limit burst <value>
Sets the maximum number of log messages that the selector sends within the rate-limit interval.
|
|
|
Syntax Description |
selector-id |
The selector name. |
|
|
value |
The maximum number of log messages: 1–65535. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/rate-limit/burst |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system syslog selector id rate-limit interval
|
|
nv set system syslog selector <selector-id> rate-limit interval <value>
Sets the rate-limit interval in seconds: the period in which the burst limit applies.
|
|
|
Syntax Description |
selector-id |
The selector name. |
|
|
value |
The interval in seconds: 1–65535. |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/syslog/selector/<selector-id>/rate-limit/interval |
|
|
Related Commands |
|
|
|
Notes |
|
|
Last updated: