Hi !
I try to use Extracting matching part of regular expression with logrt, but when logrt parsing log with this regexps
^.*Client page render time.*duration.*([0-9]+\.[0-9]+).*$",,,,\1
or
^.*Client page render time.*duration.*([0-9]{1,3}\.[0-9]+).*$",,,,\1
lines from log
.... "duration":"4.251"}
.... "duration":"2.609"}
.... "duration":"2.502"}
.... "duration":"18.749"}
i got next values in history
4.251
2.609
2.502
8.749 <-- it lose first number - 8 except 18, and that's happens with all numbers bigger than 9.999
i check regexp with zabbix test and it show that regexp is right
Can you help with this problem or said maybe i do something wrong ?
I try to use Extracting matching part of regular expression with logrt, but when logrt parsing log with this regexps
^.*Client page render time.*duration.*([0-9]+\.[0-9]+).*$",,,,\1
or
^.*Client page render time.*duration.*([0-9]{1,3}\.[0-9]+).*$",,,,\1
lines from log
.... "duration":"4.251"}
.... "duration":"2.609"}
.... "duration":"2.502"}
.... "duration":"18.749"}
i got next values in history
4.251
2.609
2.502
8.749 <-- it lose first number - 8 except 18, and that's happens with all numbers bigger than 9.999
i check regexp with zabbix test and it show that regexp is right
Can you help with this problem or said maybe i do something wrong ?