Posted Sat, 13 Oct 2018 12:24:45 GMT by

need help in automate 11 to read the last 10 lines of a log file. I read some forum and saw few vbscript but its not working on my end. 

I'm able to read log file and process its result but if reading a large log file the loop function is taking a very long time.

Help is much appreciated.



Posted Sat, 13 Oct 2018 19:12:54 GMT by

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.

You must be signed in to post in this forum.