[ZBXNEXT-6376] Support of negated filtering for tags Created: 2020 Nov 30  Updated: 2024 Apr 10  Resolved: 2021 Jan 28

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 5.4.0alpha1, 5.4 (plan)

Type: Change Request Priority: Trivial
Reporter: Rostislav Palivoda Assignee: Miks Kronkalns
Resolution: Fixed Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_182.png     PNG File configuration.png     GIF File contains_default.gif     GIF File filters_move.gif     PNG File image-2020-12-29-10-13-47-441.png     PNG File proposal-is-on-the-left.png     PNG File result.png     PNG File screenshot-1.png     GIF File tags_value_Still_exists.gif    
Issue Links:
Causes
causes ZBX-18929 Negated filtering for tags: "And/Or" ... Closed
Duplicate
is duplicated by ZBXNEXT-4237 Enable negated filtering for Tags Closed
is duplicated by ZBXNEXT-5442 Negate Tags on Problems Widget Closed
is duplicated by ZBXNEXT-5462 Add condition "does not contain" to t... Closed
is duplicated by ZBXNEXT-6736 Exclude tags in problems widget. Closed
Sub-task
Team: Team B
Sprint: Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021)
Story Points: 6

 Description   

Summary

Currently it is not possible to select problems having no specific tag or having no tag  with specific value in problem view. It can be solved by supporting negated filtering for tags.

Acceptance

  1. Zabbix must support new operations in addition to existing "Contains" and "Equals" operations in tag filters :
    1. Does not contain: check that tag is absent or tag value does not contain specified value (if the value is not empty)
    1. Does not equal: check that tag is absent or tag value does not equal specified value (if the value is not empty)
  1. It must be implemented for the following pages:
    1. Monitoring → Problems
    2. Monitoring → Hosts
    3. Monitoring → Data overview
    4. Monitoring → Trigger overview
    5. Monitoring → Latest data
    6. Monitoring → Screens
    7. Monitoring → Maps (host and host group elements)
    8. Configuration → Hosts
    9. Configuration → Items
    10. Dashboard widgets: Problem hosts, Problems, Problems by severity

Use cases

  1. I want to see only problems having no tag "Test"
  1. I want to see only problems having tag "Service" not equal to "Cloud"


 Comments   
Comment by Miks Kronkalns [ 2020 Dec 22 ]

Implemented in development branch feature/ZBXNEXT-6376-5.3.

Comment by Constantin Oshmyan [ 2020 Dec 28 ]

1) It seems that the ZBXNEXT-4237 (and, probably, ZBXNEXT-5218 also) describes the same problem. There may be a duplicate.

2) "Fix Version/s: 5.4 (plan)". Does it mean that it will NOT be backported to the current LTS version (5.0.x)?

Comment by Miks Kronkalns [ 2021 Jan 04 ]

Hi constantin.oshmyan, thank you for your comment.

  • You are right, ZBXNEXT-4237 is duplicate issue.
  • ZBXNEXT-5218 is a bit about different thing. ZBXNEXT-6376 doesn't affect tag filtering in user groups.
  • Yes, this feature is going to be implemented in 5.4 only. No backport to 5.0.x.
Comment by Miks Kronkalns [ 2021 Jan 21 ]

Implemented in:

Comment by Miks Kronkalns [ 2021 Jan 28 ]

Updated general documentation:

Updated API documentation:

Generated at Sat Mar 29 01:03:00 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.