> Date: Thu, 5 Sep 2013 17:41:52 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [rsyslog] InputName for imudp not working?
>
> On Thu, Sep 5, 2013 at 8:59 AM, Rainer Gerhards
> <[email protected]>wrote:
>
> >
> > On Thu, Sep 5, 2013 at 12:52 AM, Robert McIntyre
> > <[email protected]>wrote:
> >
> >> Hello, all! I'm in the final stages of getting my v5-v7 config migration
> >> done (at least the first revision), and have a cosmetic question:
> >>
> >> I've got this section in my config file:
> >>
> >> # Bind ruleset to UDP listener
> >> input(inputname="RemoteUDP_514" type="imudp" port="514"
> >> ruleset="RS_Remote")
> >>
> >> Which I would have expected to give the imudp line in my pstats output
> >> the name "RemoteUDP_514", but instead I get this:
> >>
> >> Sep 4 15:43:01 xxxxxxxxxxx rsyslogd-pstats: imudp(*:514):
> >> submitted=265229739
> >>
> >> I've tried putting the inputname= bit at the beginning, or the end of the
> >> input () statement, but it doesn't make a difference. It's not that big of
> >> a deal, I'll just be parsing this into a database at some point anyway, but
> >> since I'm messing around with it I thought I'd try to get everything right.
> >> :)
> >>
> >> Is this supposed to work the way I think it does?
> >
> >
> > No, it's currently working as intended. However, I think using the
> > inputname here is probably a good idea. I'll check if it is possible.
> >
> >
> >
> I have created a small patch that makes imudp use the inputname if one is
> configured:
>
> http://git.adiscon.com/?p=rsyslog.git;a=commit;h=37107dead1b79e6dfae26cf02864d431e2078916
>
> This will be released together with 7.5.3.
>
> Feedback is appreciated.
>
> Rainer
Thanks, Rainer. I got the impression that it should have already worked based
on the examples on this page: http://www.rsyslog.com/doc/imudp.html Though, it
never says *where* that name is actually displayed; I just assumed that it
would be propagated into the stats reporting, since the action/queue names are
(thanks for that, by the way, makes my stats gathering much more reliable).
Either way, I'll look for this in some future build, it's not a blocker for me.
Thanks!Robert
_______________________________________________
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.