OpenVas syslog configuration

Hello dear friends,
I’ve installed OpenVAS on ubuntu 18.04 by .deb package and I want to configure syslog to send alerts and result of scans, but I can’t find any configuration file or command for this configuration.
gos-admin-menu command and /etc/openvas/openvassd.conf file are not exists.

GVM versions

gsa: (‘gsad --version’) Greenbone Security Assistant 7.0.3
gvm: (‘gvmd --version’)
openvas-scanner: (‘openvassd --version’) OpenVAS Scanner 5.1.3
gvm-libs:

Environment

Operating system: Ubuntu 18.04.3 LTS
Kernel: Linux openvas 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Installation method / source: .deb package

Just try adding the following to /opt/gvm/etc/openvas/openvas_log.conf :

  [*]
  prepend=%t %s %p
  separator=:
  prepend_time_format=%Y-%m-%d %Hh%M.%S %Z
  file=Syslog
  syslog_facility=local3
  level=64

where /opt/gvm is the installation path.

I experimented a bit and got it also in
/opt/gvm/etc/gvm/gvmd_log.conf and /opt/gvm/etc/gvm/gsad_log.conf
but I think the first one is enough.
And yes, I know it’s an old topic, but took me some time to get it working, maybe now it’s quicker to find :wink:

1 Like

Hi, I have written the changes to the configuration.
only the state of the task is written to the log file, but I would like to see the vulnerabilities found. How to do it?