On 10/12/16 12:25, Brad Scalio wrote:
> Is there a way to log-to-syslog for clamscan runs? We pass the --log
> argument to write to an organizational defined log location for parsing for
> remote monitoring scripts but we also need to forward to arcsight
> collectors the scans for central management. I know clamd and freshclam
> log by default to local6.* and have options to also send to syslog but is
> there a way to also do this for clamscan?
you can pipe the output to logger command. That will log to syslog with
configurable facility.priority. See man logger.
Centrála: Celní 17/5, 63900 Brno, CZ
Tel: 840 840 700, +420 548 214 711
Obchodní podmínky: https://zkrat.to/op
Help us build a comprehensive ClamAV guide: