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
_______________________________________________
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