[pve-devel] pve-firewall: using NFLOG
Dietmar Maurer
dietmar at proxmox.com
Fri Mar 14 13:21:12 CET 2014
> >>The whole point is that I want to have local files with "easy to
> >>parse" format, so that we can view them easily and "fast" (those files can
> have many entries!).
> yes, no problem for local file
Just applied a patch to improve the log format to:
<VMID> <LOGLEVEL> <CHAIN> <TIME> <TIMEZONE> <MSG>
see https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff;h=782c4cde6b9e07130531b486f33d43234a2805ae
Should we log anything else?
> >>So I would like to have code to send data direct to log servers (using syslog
> protocol, or json, ...)
> >>We need that for pveproxy and pvefw-logger.
> >>
> >>What do you think?
> Yes, I really need a central log server, it's easier to debug, with the firewalls
> on each host, in case of a ddos for example.
>
>
> I'll check about logstash and input formats.
Thanks.
More information about the pve-devel
mailing list