Custom Sidebar Element Bug?

I’m trying to build a Custom Sidebar Element to list custom Host Labels. However, when I add multiple rows to the element and set a filter on each one for Host/Host Labels/ Label is , it’s only using the value that was last clicked on for All of the rows.

Row 1: Video Devices - Label is “devices:video” - shows 17 items

Row 2: Audio Devices - Label is “devices:audio” - should show 25 items

However, when I save the Element after setting the “devices:audio” filter it’s applying it to the “devices:video” Row too. It’s displaying 25 devices for both rows and overwriting the filter string in the first row.

Is this a bug or am I doing something wrong?

Yes or is as a bug existing since the custom sidebar elements are available. You can do a manual workaround with editing the file that is generated while building your sidebar element. Then it is working correctly.

Do you know the path to the file?

Normally you should look here → ~/var/check_mk/web/username/user_custom_snapins.mk
The username is the user who created the sidebar element.