Re: add statistics

"Stefan Jakobs" <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
On Wednesday 27 April 2011 19:59:48 Ailton Caetano wrote:
> Hello list,

Hi Ailton,

I'm sorry for the late answer, must have overlooked you message.

>    reading logwatch's README, i couldn't discover how i would add more
> statistics to the tool's report. Is there any file in the config to
> write and add this or i really need to patch the perl script?

logwatch.conf in $BASEDIR/*.conf/ or /etc/logwatch/conf/ lets you enable or 
disable specific services. But per default all services are enabled. If a 
specific service doesn't show up in your report, then you probably have to 
point it to the right logfile (see its configuration in 
$BASEDIR/*.conf/[services|logfiles]/). 
If you like to add a report for a not supported service then you will have to 
write your own service script. Have a look into $BASEDIR/script/services for 
examples.

> Kind Regards,
> Ailton Caetano

Regards
Stefan

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.