The info-center loghost format epsa command enables the function of sending syslogs to the state grid system log server.
The undo info-center loghost format epsa command disables the function of sending syslogs to the state grid system log server.
By default, the function of sending syslogs to the state grid system log server is disabled.
Prerequisites
Before running this command, ensure that the information center has been enabled.
Application scenario
After this function is enabled, the FW assembles and sends logs according to the log formats required by the state grid system. The log types are as follows: user operation logs, device running status logs, security policy logs, and attack defense logs. The formats of these log types are basically the same. For example, a user login log is in the following format: <5> 2006-03-12 20:12:23 fw01 FW 0 1 admin 10.1.1.1.
Before running this command, if you have set the log formats and contents for user operation logs, device running status logs, security policy logs, and attack defense logs, the preceding logs can be sent to but are discarded by the state grid system log server. To avoid unnecessary resource waste, run the info-center source default channel loghost log state off command to disable these logs.
Follow-up operation
After enabling this function, you can run the display log statistic type epsa command to display statistics about state grid system logs that are successfully sent or fail to be sent.