Solution for people who may have a similar problem:
" $('#Logs .log-line').slice(13).remove(); "
By default it says slice(500), adjust this number according to your needs. 13 was enough for me.
image.png
I'm not sure about how the web interface works for remote machines. But, I think you could easily build a REST API with bas-remote-node and then make your own web interface.