Hi,
I have a mikrotik that send web proxy log to a syslog-ng server.
For example this is a row in log:
May 12 11:02:55 10.10.0.2 web-proxy,account 10.10.65.78 GET http://gsp1.apple.com/pep/gcc action=allow cache=MISS
I use these lines in syslog-ng.conf
filter f_squid { program(“web-proxy”); };
destination d_squid {
file(“/var/log/webproxy/$YEAR/$MONTH/squid.$YEAR-$MONTH-$DAY”
owner(root) group(adm) perm(665)
create_dirs(yes) dir_perm(0775));
};
log { source(s_net); filter(f_squid); destination(d_squid); };
But now I wanna analyze the logs with http://www.webalizer.org/ .
How to setup correctly syslog-ng so webliazer see logs like squid logs?
Thanks in advance.
v.