Here is script. After you download rar log file, you extract rar file then run this script:
Link : https://helurl.com/drive/s/814AJoSh9SVUEomLxxmgRefzUxznxl
===============CONTENT==============
import os
# Get the path to the directory
path = "/home/yourname/logurl/MAY/2023-5-10-147PCS"...