Hello everyone,
I am struggling at defining dynamic subject text of e-mail.
Dynamic text should consist of constant text and content of a variable.
Example:
$.str = re_extract($msg, ..)
# does not work, subject is always without extracted string
template(name="mailSubject" type="string" string="SYSLOG alert [%fromhost%] %$.str%")
action(type="ommail", subject.template="mailSubject", ..)
---
T?to spr?va je urcen? v?lucne osobe v nej uvedenej a je predmetom obchodn?ho tajomstva. Pokial nie je urcen? V?m, bezodkladne ju, pros?m zmazte a upovedomte odosielatela.
This message is confidential and addressed only to the person named in the message. If you are not the intended recipient of the message, please delete it immediately and notify sender.
Osobn? ?daje dotknut?ch os?b, ktor? s? s?castou tejto mailovej komunik?cie s? sprac?van? na vopred vymedzen? ?cel v s?lade s Nariaden?m Eur?pskeho parlamentu a Rady (E?) 2016/679 o ochrane fyzick?ch os?b pri sprac?van? osobn?ch ?dajov a o volnom pohybe tak?chto ?dajov a z?kona c. 18/2018 Z. z. o ochrane osobn?ch ?dajov a o zmene a doplnen? niektor?ch z?konov.
Blizsie inform?cie n?jdete na https://www.ucm.sk/sk/gdpr-ochrana-osobnych-udajov/.
---
_______________________________________________
rsyslog mailing list
https://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.
I am struggling at defining dynamic subject text of e-mail.
Dynamic text should consist of constant text and content of a variable.
Example:
$.str = re_extract($msg, ..)
# does not work, subject is always without extracted string
template(name="mailSubject" type="string" string="SYSLOG alert [%fromhost%] %$.str%")
action(type="ommail", subject.template="mailSubject", ..)
---
T?to spr?va je urcen? v?lucne osobe v nej uvedenej a je predmetom obchodn?ho tajomstva. Pokial nie je urcen? V?m, bezodkladne ju, pros?m zmazte a upovedomte odosielatela.
This message is confidential and addressed only to the person named in the message. If you are not the intended recipient of the message, please delete it immediately and notify sender.
Osobn? ?daje dotknut?ch os?b, ktor? s? s?castou tejto mailovej komunik?cie s? sprac?van? na vopred vymedzen? ?cel v s?lade s Nariaden?m Eur?pskeho parlamentu a Rady (E?) 2016/679 o ochrane fyzick?ch os?b pri sprac?van? osobn?ch ?dajov a o volnom pohybe tak?chto ?dajov a z?kona c. 18/2018 Z. z. o ochrane osobn?ch ?dajov a o zmene a doplnen? niektor?ch z?konov.
Blizsie inform?cie n?jdete na https://www.ucm.sk/sk/gdpr-ochrana-osobnych-udajov/.
---
_______________________________________________
rsyslog mailing list
https://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.