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?

Hi,

you can pipe the output to logger command. That will log to syslog with
configurable facility.priority. See man logger.


-- 
S pozdravem
        Vladislav Kurz

Centrála: Celní 17/5, 63900 Brno, CZ
Web: http://www.webstep.net
E-Mail: podp...@webstep.net
Tel: 840 840 700, +420 548 214 711
Obchodní podmínky: https://zkrat.to/op
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to