2015-01-09 11:33 GMT+01:00 Maupertuis Philippe <
[email protected]>:

> Good news indeed.
>
> What I meant with the state filename was that it contains all the
> information needed as far as I am concerned.
>

Yeah, but that's obviously also in core.


> Any way to retrieve the complete path of the file is good from my point of
> view.
> If the jan 13th release is missed, what would be the next one ?
>
>
I am currently working on it, so I hope I can make it. Will probably become
part of metadata, so you need your own template. Exploring more options
IMHO is outside the timeframe, so let's get some experience with metadata.

Next release would be Feb, 24th. If you build from source, everything is
available immediately.

Rainer

> Regards
> Philippe
>
>
> -----Message d'origine-----
> De : [email protected] [mailto:
> [email protected]] De la part de Rainer Gerhards
> Envoyé : vendredi 9 janvier 2015 09:25
> À : rsyslog-users
> Objet : Re: [rsyslog] RE : imfile include filename or statefile in the
> message.
>
> On Mon, Dec 22, 2014 at 10:07 PM, Maupertuis Philippe <
> [email protected]> wrote:
>
> > From by understanding of the documentation, the statefile name
> > contains all the needed information.
> > It would be enough if it could be accessed but I don't know if that
> > makes sense
> >
>
> Bothering with internal state does not really make sense and it wouldn't
> even solve the root problem (which state file would you want to access?). I
> have added a feature request on github:
>
> https://github.com/rsyslog/rsyslog/issues/199
>
> Will try to fit it into the jan 13th release, but no promise.
>
> Rainer
>
> >
> > Philippe
> > ________________________________________
> > De : [email protected]
> > [[email protected]]
> > de la part de David Lang [[email protected]] Date d'envoi : lundi 22
> > décembre 2014 19:35 À : rsyslog-users Objet : Re: [rsyslog] imfile
> > include filename or statefile in the message.
> >
> > That's a good question. One the one hand, a variable that explicity
> > gives the filename gives the most flexibility, but combining it with
> > the input name probably makes for a simpler config and is close enough
> > to "do the right think automatically" that it would satisfy new users
> > the vast majority of the time.
> >
> > the "best" answer would probably be to allow the input name to have a
> > %% in it that gets replaced by the filename, and have a separate
> > filename variable.
> > But
> > that's probably a bit on the messy side to implement.
> >
> > David Lang
> >
> >
> > On Mon, 22 Dec 2014, Rainer Gerhards wrote:
> >
> > > What's best? ;)
> > >
> > > Sent from phone, thus brief.
> > > Am 22.12.2014 18:09 schrieb "David Lang" <[email protected]>:
> > >
> > >> append the filename to the input name if it's a wildcard or
> > >> something
> > like
> > >> that?
> > >>
> > >> David Lang
> > >>
> > >> On Mon, 22 Dec 2014, Rainer Gerhards wrote:
> > >>
> > >>  I think there is nothing along those lines,  but definitely makes
> > sense.
> > >>>
> > >>> Sent from phone, thus brief.
> > >>> Am 22.12.2014 18:01 schrieb "David Lang" <[email protected]>:
> > >>>
> > >>>  This is a new feature, so I'm not sure. But if you log with the
> > >>> format
> > >>>> RSYSLOG_DebugFormat you will see all the variables that are defined.
> > >>>> Take a
> > >>>> look and see what's listed.
> > >>>>
> > >>>> David Lang
> > >>>>
> > >>>>  On Mon, 22 Dec 2014, Maupertuis Philippe wrote:
> > >>>>
> > >>>>  Hi list,
> > >>>>
> > >>>>> Using imfile to watch a whole directory, I need to include the
> > filename
> > >>>>> or the generated state file name in the message.
> > >>>>> Is there any available variable to do that ?
> > >>>>> Thanks
> > >>>>> Philippe
> > >>>>>
> > >>>>>  _______________________________________________
> > >>>>>
> > >>>> 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.
> > >
> > _______________________________________________
> > 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.
> >
> >
> > Ce message et les pièces jointes sont confidentiels et réservés à
> > l'usage exclusif de ses destinataires. Il peut également être protégé
> > par le secret professionnel. Si vous recevez ce message par erreur,
> > merci d'en avertir immédiatement l'expéditeur et de le détruire.
> > L'intégrité du message ne pouvant être assurée sur Internet, la
> > responsabilité de Worldline ne pourra être recherchée quant au contenu
> > de ce message. Bien que les meilleurs efforts soient faits pour
> > maintenir cette transmission exempte de tout virus, l'expéditeur ne
> > donne aucune garantie à cet égard et sa responsabilité ne saurait être
> > recherchée pour tout dommage résultant d'un virus transmis.
> >
> > This e-mail and the documents attached are confidential and intended
> > solely for the addressee; it may also be privileged. If you receive
> > this e-mail in error, please notify the sender immediately and destroy
> > it. As its integrity cannot be secured on the Internet, the Worldline
> > liability cannot be triggered for the message content. Although the
> > sender endeavours to maintain a computer virus-free network, the
> > sender does not warrant that this transmission is virus-free and will
> > not be liable for any damages resulting from any virus transmitted.
> > _______________________________________________
> > 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.
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
> exclusif de ses destinataires. Il peut également être protégé par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
> être recherchée quant au contenu de ce message. Bien que les meilleurs
> efforts soient faits pour maintenir cette transmission exempte de tout
> virus, l'expéditeur ne donne aucune garantie à cet égard et sa
> responsabilité ne saurait être recherchée pour tout dommage résultant d'un
> virus transmis.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Worldline liability
> cannot be triggered for the message content. Although the sender endeavours
> to maintain a computer virus-free network, the sender does not warrant that
> this transmission is virus-free and will not be liable for any damages
> resulting from any virus transmitted.
> _______________________________________________
> 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