Was this the first line in your file?

If you don't set log.syslog="off" then the logs will show up like any other logs and you can then send them out over the network.

If /var/log/stats.log is not showing up, I would suspect that you have a permission problem (possibly SELinux), try starting in debug mode (-dn) and see if you have any errors showing up

when you are first playing with impstats, set the interval to something small like 10 seconds so you don't have to wait so long to see something.

David Lang


 On Wed, 14 May 2014, Muhammad Asif wrote:


Greetings! Rsyslog Lovers,

I have read the recommended links and using it as below.

module(load="impstats" interval="600" severity="7"
       log.syslog="off"
       log.file="/var/log/stats.log")

But there is no stats file on respective directory. Actually my intention
is to get stats of logs receive on udp port 514. I am still unable to
achieve my goal. Please help me in this regard. How can i create listener
and what can i can use this stuff "imudp(*:514)".


Regards
M.Asif



On Fri, May 9, 2014 at 5:52 PM, Radu Gheorghe <[email protected]>wrote:

Hi Muhammad,

You can use tcpflood for generating events:
http://www.rsyslog.com/how-to-use-tcpflood/

And impstats for gathering metrics:
http://www.rsyslog.com/doc/impstats.html

Best regards,
Radu

--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/


On Fri, May 9, 2014 at 2:04 PM, Muhammad Asif <[email protected]>
wrote:

Hi!

Dear Rsyslog Geeks,

We are using rsyslog 8.2.1 for receiving logs on a desktop machine having
specifications like CPU core i3 and RAM 4GB. We want to stress rsyslog on
such machines. So we intend to calculate logs/second recived and
processed
by rsyslog. How can i do this. Please advice me regarding this issue.



Regards
M.Asif
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to