+1 Sent from phone, thus brief. Am 11.01.2016 20:06 schrieb "David Lang" <[email protected]>:
> Currently imfile does not do this, but it seems like a reasonable thing to > add, can you file an enhancement request at > https://github.com/rsyslog/rsyslog ? > > David Lang > > On Mon, 11 Jan 2016, chenlin rao wrote: > > Date: Mon, 11 Jan 2016 12:24:08 +0800 >> From: chenlin rao <[email protected]> >> Reply-To: rsyslog-users <[email protected]> >> To: rsyslog-users <[email protected]> >> Subject: [rsyslog] Can rsyslog-imfile record line number into metadata? >> >> I know the rsyslog-imfile can now record the filename into metadata. How >> about record the line number into metadata too? just like the `FNR` in >> awk. >> >> There is a use case that we could search for a range query of FNR to >> implement splunk's "context" in elasticsearch. >> _______________________________________________ >> 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.

