Limitation of the "find" command

Hi - it would be useful for me to be able to search the wireless registration table for a specific “last-ip” value, like this:

[admin@farn10] /interface wireless registration-table>print from=[find last-ip=1.2.3.4]

It doesn’t seem to work. The “last-ip” value is only shown when I run “print stats”; is it possible that “find” isn’t matching on that value for that reason?

Works for me:

[admin@gw-loc] /interface wireless registration-table> :put [ find last-ip="172.16.99.254" ]
*e

Nope, still not happening here. I’m on 3.13 - what version is working for you?

[admin@farn10] /interface wireless registration-table> print stats                        
0 interface=wlan1 radio-name="000B6B816E42" mac-address=00:0B:6B:81:6E:42 ap=no 
   wds=no rx-rate="54Mbps" tx-rate="54Mbps" packets=26833234,13487843 
   bytes=705988837,2653490026 frames=26833234,13487843 
   frame-bytes=544989505,2572562968 hw-frames=27949787,13487864 
   hw-frame-bytes=2485843485,2896271889 tx-frames-timed-out=0 
   uptime=1w1d18h31m47s last-activity=510ms signal-strength=-72dBm@54Mbps 
   signal-to-noise=26dB 
   strength-at-rates=-66dBm@6Mbps 14s450ms,-66dBm@9Mbps 5d19h1m36s950ms,-
                     66dBm@12Mbps 5d19h1m36s940ms,-66dBm@18Mbps 5d19h1s240ms,-
                     67dBm@24Mbps 1d18h12m47s610ms,-68dBm@36Mbps 
                     1d17h41m30s200ms,-70dBm@48Mbps 3m32s480ms,-72dBm@54Mbps 
                     510ms 
   tx-signal-strength=-64dBm tx-ccq=99% rx-ccq=100% p-throughput=30383 
   ack-timeout=66 nstreme=no framing-mode=none routeros-version="3.13" 
   last-ip=10.30.206.6 802.1x-port-enabled=yes compression=no wmm-enabled=no 

[admin@farn10] /interface wireless registration-table> :put [ find last-ip="10.30.206.6" ]          

[admin@farn10] /interface wireless registration-table>

latest version v3.16

Upgraded to 3.16 and it works now - thanks.

you had to use quotation for find to work correctly, in 3.16 you can use with or without quotation.