On Mon, Dec 16, 2013 at 5:09 PM, Pavel Levshin <[email protected]> wrote:

> Hello.
>
> 16.12.2013 16:00, waqar afridi:
>
>  Hello All
>>
>> Hope everyone would be OK, I want to ask if we can add custom log source
>> to
>> Rsyslog? Lets say we have a log file say /etc/openerp/logs/erp.log, Can
>> Rsyslog can read from this file?
>>
>
> Generally, yes, you need to use http://www.rsyslog.com/doc/imfile.html
>

Thanx Pavel for such a nice and quick reply :) It worked :) but How would I
parse this log, It append the log with the date and System name and It then
the message copy the message (a line) and displays it. Why not take all the
information from the log source like The Time that entry was generated and
the name of the machine on which it was generated?

Thanx again


>
> --
> Pavel Levshin
>
> _______________________________________________
> 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.
>



-- 
*Waqar Afridi*

waqarafridi.wordpress.com
http://pk.linkedin.com/pub/waqar-afridi/15/98/494
http://imsciences.edu.pk/serg/2010/10/waqar-afridi/

Member CSRDU
http://csrdu.org/ <http://csrdu.org/blog/people/>
_______________________________________________
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