Custom variables not showing as Filter sugestion

Hello, we are currently preparing to upgrade from IcingaWeb2 v2.9.5 to 2.12.6. I have noticed that, when I try to filter something with a custom variable on 2.12.6, some don’t show as a suggestion.

For example, I have this variable ‘vars.customer = “Customer_Name”’ in the host object . If I want to filter with it, I have input “host.vars.customer” in the filter field for it to work. Where as on v2.9.5 I could select it from the drop down list for filters. It seems random variables are not shown for some reasons.

How does IcingaWeb2 control which variables shows as filters and can I change it?

  • Icinga Web 2 Version 2.12.6
  • The default modules and grafana - v3.1.2, pdfexport - v0.11.0, reporting - 1.0.5
  • Web browser used - Firefox, Edge
  • Icinga 2 version v.2.15.3
  • PHP version used 8.1.34
  • OS Ubuntu 22.04 LTS