R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

116
Log management configuration commands
display userlog export
Syntax
display userlog export [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display userlog export to view the configuration and statistics about flow logs exported to the log
server.
Before using this command, configure the IP address and UDP port number of the log server with the
userlog flow export host command. Otherwise, the system may prompt you "No userlog export is
enabled".
Related commands: reset userlog flow export.
Examples
# View the configuration and statistics about flow logs. (The actual command output depends on the
device model.)
<Sysname> display userlog export
flow:
Export Version 1 logs to log server : enabled
Source address of exported logs : 1.1.1.1
Address of log server : 2.2.3.3 (port: 2000)
VPN-instance : abc
Total logs/UDP packets exported : 0/0
Address of log server : 2.2.4.3 (port: 2000)
Total logs/UDP packets exported : 0/0
Logs in buffer : 0