github VictoriaMetrics/VictoriaLogs v1.51.0

14 hours ago

Released at 2026-06-17

  • SECURITY: upgrade Go builder from Go1.26.2 to Go1.26.4. See the list of issues addressed in Go1.26.3 and the list of issues addressed in Go1.26.4.

  • FEATURE: vmalert: add -vmalert.proxyURL command-line flag, which allows proxying /select/vmalert/* requests from VictoriaLogs to vmalert. See #90 and these docs.

  • FEATURE: metrics: expose filesystem type for storage paths via the vm_fs_info metric. This helps identify filesystem-specific issues during troubleshooting. See #1435.

  • FEATURE: LogsQL: allow putting ; in the end of the query. This is useful for detecting the end of multi-line query.

  • FEATURE: LogsQL: add coalesce pipe, which returns the first non-empty value from the given list of fields. This is useful when the same value may be stored under different field names across logs, such as user_id, username or email. The pipe can also return a default value when all the fields are empty. See #690. Thanks to @warkadiusz for the pull request #904.

  • FEATURE: LogsQL: disallow using filter pipes without the filter prefix if the filter doesn't start with field_name: prefix. For example, foo | bar is disallowed now. It must be rewritten to one of the following equivalents: foo bar, foo | "bar", foo | _msg:bar or foo | filter bar. This reduces the changes of incorrectly written queries like in the #1454.

  • FEATURE: querying API: allow using limit and offset pipes after the stats pipe in queries to /select/logsql/stats_query. This enables the usage for these pipes in alerting and recording rules for VictoriaLogs. See #1296.

  • FEATURE: alerts: add new alerting rules PersistentQueueRunsOutOfSpaceIn12Hours and PersistentQueueRunsOutOfSpaceIn4Hours for vlagent persistent queue capacity. These alerts help users to take proactive actions before vlagent starts dropping logs due to insufficient persistent queue space. See #10193

  • FEATURE: web UI: remove the Date format setting and always display timestamps with nanosecond precision. See #1161.

  • FEATURE: web UI: add search for filtering fields by name and value in expanded log entries in the Group tab. See #1378

  • FEATURE: web UI: rename the "Filters" button to "Show/Hide filters" and update its icon. See #1247.

  • FEATURE: web UI: rename field Query time to Hits query on the Hits chart panel. The change makes it clear duration of which query is displayed.

  • FEATURE: web UI: add log level detection for displayed log entries. This feature can be toggled in the Group View settings. See #1245.

  • FEATURE: web UI: support nanosecond precision for timestamps. This allows selecting time ranges and displaying log timestamps without rounding them to milliseconds. See #745.

  • FEATURE: web UI: improve Log context window user experience:

    • change sorting from older (top) to newer (bottom) log entries to make the experience similar to browsing logs in the shell;
    • replace manual load newer/older controls with an infinite scroll. The scroll will automatically search for logs before or after gradually extending the search window for up to 7d. See #1397.
    • display warning if there are logs with identical timestamps, as their sorting order can't be guaranteed. Such logs will be additionally highlighted in the list.
  • FEATURE: dashboards/kubernetes-explorer: add new dashboard for exploring Kubernetes logs via VictoriaLogs datasource in Grafana. Thanks to @sias32 for the contribution!

  • FEATURE: File Collector: enhance glob pattern support with additional syntax: double-star /**/ for matching nested directories (e.g. /var/log/**/*.log), alternatives {a,b} for matching multiple specific names (e.g. {access,error}.log), character classes [a-z] and ? wildcard for single-character matching. See #1393 and these docs for the full pattern syntax reference.

  • BUGFIX: VictoriaLogs cluster: return a clear error message when vlselect requests cannot be parsed by vlstorage. Previously the unclear error was generated when vlselect sends too long query to vlstorage: unexpected protocol version=""; want "v4". See #1462.

  • BUGFIX: VictoriaLogs cluster: properly send and parse queries longer than 10MB, which are sent from vlselect to vlstorage. Such a long queries may be generated if they contain a subquery filter, which expands to a long list of items. See #1462.

  • BUGFIX: LogsQL: fix unroll pipe and json_array_len pipe ignoring JSON arrays preceded by whitespace. See #1427.

  • BUGFIX: LogsQL: properly calculate rate() and rate_sum() stats functions in cluster mode for queries grouped by _time buckets, such as ... | stats by (_time:5m, status) rate(). Previously these functions could divide results by the whole query time range instead of the _time bucket duration, which could make Grafana range query values unexpectedly low. See #1451.

  • BUGFIX: LogsQL: allow unpack_json to parse JSON objects starting with spaces. See #1416.

  • BUGFIX: LogsQL: properly quote field filter values whose leading token is a reserved keyword such as in, so the query can be parsed back from its string representation. See #1434.

  • BUGFIX: vlagent: hide sensitive values passed via -remoteWrite.proxyURL in /metrics, /flags, and startup logs. Previously these values could be exposed in plain text. See #1320.

  • BUGFIX: web UI: improve context view highlight visibility in dark theme. The selected log entry is now highlighted with a more visible blue tint instead of barely visible gray background. See #1196.

  • BUGFIX: web UI: fix live tab ignoring selected stream filters. See #1342.

  • BUGFIX: web UI: fix stream context view where the selected log overlapped transparently with content below when scrolling. See #1185.

  • BUGFIX: web UI: fix browser navigation issues where the UI state didn't update on URL changes. See #1056.

  • BUGFIX: web UI: remove extra empty value in Stream fields sidebar when selecting all values within a field. See #1235.

  • BUGFIX: web UI: fix target log rendering in the Log context modal. See #1199.

  • BUGFIX: web UI: fix border colors so they follow the theme selected in vmui instead of the browser theme. Previously, borders turned black in the light theme when the browser theme was dark. See #1473.

  • BUGFIX: web UI: round query execution time in the query label to whole milliseconds instead of displaying excessive floating-point precision. See #1496.

  • BUGFIX: web UI: preserve the selected tenant while switching between vmui tabs. See #1447.

  • BUGFIX: HTTP querying APIs: return 502 Bad Gateway from /select/logsql/stats_query and /select/logsql/stats_query_range when one of vlstorage nodes is unavailable in cluster mode. Previously these endpoints could incorrectly return 422 Unprocessable Entity, which could break retry and failover handling in high-availability setups. See #1419.

Don't miss a new VictoriaLogs release

NewReleases is sending notifications on new releases.