[ZBX-21102] Limit for search and filter results is filtering out groups Created: 2022 May 24  Updated: 2022 May 30  Resolved: 2022 May 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.3
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: patrik uytterhoeven Assignee: Elina Kuzyutkina (Inactive)
Resolution: Won't fix Votes: 0
Labels: filters, frontend, latestdata, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png     PNG File screenshot-2.png    

 Description   

standard the Limit for search and filter results is 500 items

if you select a group in latest data where there are many hosts and your item results go above the filter limit then only the first hosts are shown in the subfilter on the latest data page. This behaviour is wrong 

 

the subfilter should show all the hosts selected from the groups filter or hosts filter

then we should be able to drill further down with the subfilter

 

 



 Comments   
Comment by Elina Kuzyutkina (Inactive) [ 2022 May 26 ]

Hi,
Can you attach screenshots with Monitoring -> Latest Data
I can't reproduce the issue as-is:

A can see all hosts in subfilter

Regards, Elina

Comment by patrik uytterhoeven [ 2022 May 26 ]

Hi

Elina

 

that is because you don't have more then 500 items in all your hosts (if you limit the total results to 500 in the admin section)

if you have more then 500 items in lets say 3 hosts then only 3 hosts are shown in the subfilter

 

 

 

Comment by Elina Kuzyutkina (Inactive) [ 2022 May 27 ]

Now I understand what it's about. The subfilter is really displayed in the context of those hosts that fell into the limit and filter. Unfortunately, this is by design - and the reason is for performance. These will be very heavy queries to the database if all available options are displayed for the subfilter
You also can see the note:

The maximum I can offer is if we add a note to the documentation, but it seems that the tooltip on the screen itself does a better job.

Regards, Elina

Comment by patrik uytterhoeven [ 2022 May 27 ]

Hi

a note in the documentation is imho not the best solution and the note in the frontend is only for admins clear.

 

you have to see this from the enduser perspective

an end user will never know this and this behaviour is not what is expected

 

a better soluition would be to add the limit filter in this page instead of the admin page 

so it would be visible for everyone

 

Comment by Elina Kuzyutkina (Inactive) [ 2022 May 27 ]

I am sorry, can you give more details on "a better soluition would be to add the limit filter in this page instead of the admin page"?
I am not sure i can understand it in right way

Comment by patrik uytterhoeven [ 2022 May 27 ]

it would be better to add the filter in the latest data page instead of in the admin section

amin -> general - gui ->
Limit for search and filter results
 
how is a normal non zabbix admin supposed to know that when he filters on a hostgroup that it will not show him every host.
this is a broken implementation the specs where not well defined imho
 
for me it would make even more sense to have 
  #

  1. filter on hostgroup or host
  2. create a subfilter with all hosts or hosts from the hostgroup
  3. filter based on tags with a limit of "Limit for search and filter results"  that can be selected on the latest data page with a visible warning for the user that his output from the search was limited by x number of items

 

Comment by Elina Kuzyutkina (Inactive) [ 2022 May 30 ]

Hi,
But amin -> general - gui -> Limit for search and filter results already has one
I agree that it would be more intuitive. (If the subfilter remained on all found objects without taking into account the filter.) But, unfortunately, this approach will require the execution of heavy queries in the database. At the moment, a head-on solution is unacceptable due to the load being created.
If your installation allows you to perform such searches without harming performance, then please simply increase the limit. Otherwise, use initially more precise search criteria (tags, item keys, etc.) - the search will be performed on all hosts from the group and more hosts will be displayed in the subfilter

I have to close this ticket as this is not a bug. You can create a zbxnext on this topic, once we understand that the database capabilities allow such a search for the most of zabbix instance - it will probably be implemented

Regards, Elina

Generated at Tue Jun 03 18:07:59 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.