Testing lua script on logs

Greetings!

I am in the process of creating a script for my aircraft that will automatically control the servo in a particular manner. I would like to verify its functionality using the flight logs I have already collected. How can I do this? Thanks in advance