Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Lukas34343434
Explorer

How to send specific log files via syslog, not just messages and routed

Hello,
Could you please tell me how to configure sending various logs via syslog (for example, /var/log or $FWDIR/log/blade_config)?

As I understand it, this command only sends messages and routed_messages:
add system log log-remote-address x.x.x.x level all
 

R81.20, R82


Thanks!

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

You can send "arbitrary" data to a syslog server using the expert command logger.
Execute logger --help to see the command line options.
Files are supported, though I suspect this is done in one shot rather than continuously (which is probably what you want).

0 Kudos