<div dir="ltr"><div><div><div>Hello everyone,<br><br></div>I have two questions about syslog-ng:<br></div><br>1
- Is it possible to send to a remote syslog-ng server a particular log
file, for example the following /var/log/network.log, and how we can do
this?<br><pre><code>iface eth1 inet dhcp
...
up echo $IFACE up $(date) >> /var/log/network.log
down echo $IFACE down $(date) >> /var/log/network.log<br><br></code></pre>2 - Is it possible to log in real time a change occured a network interface ? For example a new open port. More generally, how can we log actions naturally not covered by syslog-ng in order to send to a remote server?<br><br></div>Thank you for any help.</div>