I have edit the filter set in the "Network Generic Device by SNMP" and added "^Loopback*$|^AUX$|^Vlan-interface*$".

Those macros are set inside the template.
That template has a discovery with following filters:

And this template has item prototypes like `Interface {#IFNAME}({#IFALIAS}): Operational status`.
Given those informations I would guess that those filter are applying to the discovery.
But when I clear the data from a host and wait for them to appear again, interfaces that should be filtered out will still be displayed:

What could be the reason that this filter isn't working? The regex is fine when checking them with regex101...
Those macros are set inside the template.
That template has a discovery with following filters:
And this template has item prototypes like `Interface {#IFNAME}({#IFALIAS}): Operational status`.
Given those informations I would guess that those filter are applying to the discovery.
But when I clear the data from a host and wait for them to appear again, interfaces that should be filtered out will still be displayed:
What could be the reason that this filter isn't working? The regex is fine when checking them with regex101...