Got this problem resolved on my end using the powershell action in automate, then a powershell get- content that show the last 10 lines then pass to a file variable, then start other steps to evaulate the result code of the logs.
It comes handy in reading large log file. Tried to read 300 MB file and works just fine.