AI-generated script; first open the example one and see if it works in your browser. If works - open the empty script and copypaste your logs into the free space in the middle (replacing it) similar how it's done in the example.
Never run the code from the Internet you don't trust.