Hello,

I have a problem with regexp in the template. According to the online tool 
available http://www.rsyslog.com/regex/
it should work just as expected, while when deployed I am getting **NO MATCH**.

Part of my template:

constant(value="\",\"processing_t\":\”") property(name="msg" 
regex.expression="([0-9]+.[0-9]+).se" regex.type="ERE" regex.match=“1”)

Example log line:

[25/Feb/2015:22:49:25 +0000] | remote addr: 127.0.0.1 | remote user: - | 
server: localhost | upstream addr: 127.0.0.1:9090 | request: GET / HTTP/1.1 | 
status: 401 | processing (sec : 1.807 seconds | 
ceb953cc-dbad-4bbe-bc28-11a7bee34827

When testing this with online tool I get the expected result of 1.807. What am 
I missing here?

Cheers,
Piotr

Piotr Gospodarek

Follow the Kainos buzz on: Twitter<https://twitter.com/kainossoftware> 
Facebook<https://www.facebook.com/KainosSoftware> 
Linkedin<http://www.linkedin.com/company/kainos> 
Youtube<http://www.youtube.com/user/KainosSoftware>

[Sunday 
Times]<http://www.kainos.com/kainos-repeats-success-sunday-times-best-companies-work-rankings/>

This e-mail is intended solely for the addressee and is strictly confidential; 
if you are not the addressee please destroy the message and all copies. Any 
opinion or information contained in this email or its attachments that does not 
relate to the business of Kainos is personal to the sender and is not given by 
or endorsed by Kainos. This email has been scanned for all known viruses by EOP 
but is not guaranteed to be virus free; further terms and conditions may be 
found on our website - www.kainos.com "Kainos" is the trading name of the 
Kainos group of companies comprising the parent company, Kainos Software 
Limited, registered in Northern Ireland under company number: NI019370, having 
its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT, 
Northern Ireland, and its wholly owned subsidiaries. The subsidiary details can 
be found here<http://www.kainos.com/discover-kainos/corporate-information/>.
_______________________________________________
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