I have 20 pppoe servers on mikrotik which set up on different isolated VLANs.
I need to get connected clients by specific vlan interface.
In winbox I have interface read only value in a status tab.

Is it possible to get it/use as filter using CLI?
It is relatively easy to get it:
put ([interface pppoe-server monitor once as-value]->“interface”)
It is a bit resource-consuming to filter on it:
foreach counter=ifc in=[interface pppoe-server find] do={if (([interface pppoe-server monitor $ifc once as-value]->“interface”) = “carrier-interface-name” ) do={put [interface pppoe-server get $ifc name]}}
Thanks!
Successfully made a csv list using this command:
foreach ifc in=[/interface pppoe-server find] do={put ([/interface pppoe-server get $ifc name].";".[/interface pppoe-server monitor $ifc once as-value]->"interface")}