Logo
Resources
Documentation Portal Ideas Portal Guardsix Academy License Portal
Resources
Documentation Portal Ideas Portal Guardsix Academy License Portal Use Case Navigator
Sign in
  1. Guardsix Servicedesk
  2. Products Hub
  3. Known Issues

Label conditions inside aggregation functions or the search command fail to match or return incorrect counts

Avatar Kripa Thapa
November 17, 2026 06:46
Follow
Reference ID
LP-78933
Date Published November 17, 2026
Affected Products Guardsix SIEM
Affected Versions 7.10.0 and later
Status
Under Development
Fix Version 8.0.0
Description

A label condition placed inside an aggregation function in chart or timechart, or inside a | search command placed before any chart or timechart, does not match any logs. For example:

  • | chart count(label=Login)

  • | timechart count(label=*)

  • norm_id=WinServer | search label=Login | chart count() by user

If your deployment is affected by this issue, you may see the following:

  • The query, or the column containing the label condition, returns no results or a count of `0`, even when matching logs exist.

  • A negated condition, such as count(label!=Login), counts every log rather than excluding the label.

  • The same logs grouped by label, such as | chart count() by label, return the expected counts. 

This behaviour also affects alerts, dashboard widgets and reports built on these query patterns. Label conditions placed in the base search, before the first pipe (|), are not affected.

Workaround

Move the label condition into the base search, before the first pipe (`|`):

  • label=Login | chart count()

  • label=* | timechart count()

  • norm_id=WinServer label=Login | chart count() by user

A condition in the base search applies to the entire query. If a query contains several aggregations with different label conditions, create a separate query for each label condition. Apply the same change to any alerts, dashboard widgets or reports that use affected queries.

If you have any questions or require assistance, create a support ticket.

Comments

Article is closed for comments.

Was this article helpful? 0 out of 0 found this helpful
Privacy policy    EULA    Terms of service   
Copyright © , Guardsix. All rights reserved.

Note: We use cookies that are essential for the smooth functioning of our website.