System: Log Files: General - strange behavior of filter

Started by sysel, November 13, 2025, 07:51:02 PM

Previous topic - Next topic
Hello,
I have found strange behavior when using filter in System: Log Files: General. I was trying to filter with PPPoE string and nothing appeared for Last day. It was strange as there was boot today. So I changed it to No Limit and there is filtered result. When I change it back to Last Day/Week/Month there is nothing.. See below screenshot. Same behavior on mobile device version. It makes same thing when using some other word to filter..


You cannot view this attachment.
You cannot view this attachment.

I just registered on the forums to report this very issue. I noticed it while trying review query logs for DNSCryptProxy. First observed after updating to OPNsense 25.7.7_4-amd64.

This thread shows the same issue from September 2024
https://forum.opnsense.org/index.php?topic=42854.0

There was a ticket opened for the issue back then: https://github.com/opnsense/core/pull/7889 and fixed merged.
Possible fix: https://github.com/opnsense/core/commit/2a1ccae9

Check System: Log Files: Backend to confirm if error is present:

[04f91e7b-cc44-427e-85ef-8ddad32c9987] Script action failed with Command '/usr/local/opnsense/scripts/syslog/queryLog.py --limit '50' --offset '0' --filter '' --module 'dnscryptproxy' --filename 'dnscrypt-proxy' --severity 'Emergency,Alert,Critical,Error,Warning' --valid_from '1762984044.205'' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 89, in execute subprocess.run(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/syslog/queryLog.py --limit '50' --offset '0' --filter '' --module 'dnscryptproxy' --filename 'dnscrypt-proxy' --severity 'Emergency,Alert,Critical,Error,Warning' --valid_from '1762984044.205'' returned non-zero exit status 1.

I guess it is possible the fix was reverted somehow... ?

Quote from: jdgesmlls on Today at 06:26:44 AM[...]Check System: Log Files: Backend to confirm if error is present:[...]

Ah, I'd missed those. I have them starting on 9/15/2025, whichever version that would have been... perhaps 25.7.3_7.

Quote from: pfry on Today at 06:08:50 PM
Quote from: jdgesmlls on Today at 06:26:44 AM[...]Check System: Log Files: Backend to confirm if error is present:[...]

Ah, I'd missed those. I have them starting on 9/15/2025, whichever version that would have been... perhaps 25.7.3_7.
I didn't go back that far but that sounds plausible. Would this require a new issue on https://github.com/opnsense/core/issues?