Hello all,
I can execute the following command via console:
/log print where topics~"wireless" message~"reject"
How do I send the same command via Mikrotik API?
/log/print
?topic=wireless
?message=reject
Understandably returns nothing, since = implies an exact match, and we want to do a partial match.
Thank you in advance.
From the linked page:
API print command differs from the console counterpart in the following ways:
where argument is not supported. Items can be filtered using query words
Also from the linked page:
Warning: Regular expressions are not supported in API, so do not try to send query with ~ symbol