/log/print with queries does not work properly (for me)

I have this:

/log/print
?=topics=firewall,info
?>.id=[LAST LOGGED ID]

with which I would like to monitor routers log for firewall entries where I “remember” the last ID from last entry from each run and when the log entry ID was “*FF” and using this

/log/print
?=topics=firewall,info
?>.id=*FF

the API doesn’t return new entries although I know there are new entries (with ID *107 for example)

How can I acheive this so when using always the ID from last entry of the run I will get new entries?

Thanks!

.id field values are not comparable.

Is “time” then comparable and how? As I tried also with

?>time=Nov/20/2011 11:11:11

for example and didn’t work either.

AFAIK best chance for you would be to run

/log/print
=follow=
.tag=log

or add query for topics , if you like, so you see only newly added entries in the log. So you get details as entry is created.

Thank you! I’ll try that.