[ZBX-24340] New Regular Expression Error with logrt Created: 2024 Apr 11 Updated: 2024 Jun 19 |
|
Status: | Need info |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 6.4.13 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | David Otero | Assignee: | Karlis Salins |
Resolution: | Unresolved | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Server: Debian 12. |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
Description |
I've been using the following regular expression in logrt to specify the log file without any issues for several weeks: Code: "Cannot compile a regular expression describing filename pattern: PCRE2 does not support \F, \L, \l, \N{name}, \U, or \u, position 39, flags:0x2400". Enclosing the directory path in quotes does not resolve the issue. I haven't come across any updates that might have impacted this behavior. Does anyone have an idea what could be causing this? It seems that even if all the "-s" are escaped to " However, if I only escape " ** logrt[C:\Programas\3. Version DEBUG PalStats con Grafico\\Logs\Actual\^\d{4}-\d{2}-\d{2}_\d{2}-\d{2}-\d{2}\.log,"ERROR",,,"skip",] **
Thanks. |
Comments |
Comment by Karlis Salins [ 2024 Apr 30 ] |
Hello. Best regards, |
Comment by David Otero [ 2024 Apr 30 ] |
Thanks for the response.
I attach the agent log (after "C:\" seems treat all like filename). Thanks for the work. |