Not an direct answer to you question, but why can you not just send all log to an external log server.
Splunk is free for up to 500MB log a day and then you can read all line using http.
There are several tools to graph it to look nice.
See link in my signature on how to use Splunk with MikroTik
hi we need only this line in our external script, but dont have a idea to do it a log server for it is not so good well not directly data was in our database ;/
i hope you can help to find a script to do it .
regards