[ZBX-25798] Error When Retrieving SJIS-Encoded Logs with Blank Lines Using the Log Key Created: 2024 Dec 25 Updated: 2025 Oct 13 Resolved: 2025 Mar 18 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Agent (G) |
| Affects Version/s: | 6.0.37, 7.0.7, 7.2.1 |
| Fix Version/s: | 6.0.40rc1, 7.0.11rc1, 7.2.5rc1, 7.4.0beta1 |
| Type: | Problem report | Priority: | Major |
| Reporter: | 中山貴弘 | Assignee: | Michael Veksler |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 9h | ||
| Original Estimate: | Not Specified | ||
| Environment: |
zabbixserver:7.0.5 |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Team: | |||||||||||||
| Sprint: | Prev.Sprint, S25-W6/7, S25-W8/9, S25-W10/11 | ||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
When the log file encoded in SJIS is retrieved using the log key with the encoding parameter set to SHIFT_JIS, the following error occurs if a blank line (empty line) is written to the monitored log file, and no further logs are retrieved thereafter. Failed to convert from encoding SHIFT_JIS to utf8. Error: [0x00000057] |
| Comments |
| Comment by Kim Jongkwon [ 2025 Feb 07 ] |
|
I tested on a Japanese Windows system with a SHIFT_JIS log containing blank lines and confirmed the issue.
A fix or investigation is needed for 7.0. |
| Comment by Michael Veksler [ 2025 Mar 14 ] |
|
Available in:
|