10-22-2025 08:39 AM
pyATS has HTML log viewer which spins local web server when using the command "pyats logs view"
Seems the test data comes from a .zip file which gets created after tests has been executed.
How can that .zip file be converted to HTML for local viewing in a laptop browser? It can be seen, that .zip file has couple .xml and test data files but no HTML.
10-22-2025 08:48 AM
Been a little while, but from memory the zip file contains the input data, and pyats log view is the application that processes that data and renders out a graphical html output in real time, this is why you cant just unzip it and open a static html file.
Is that what you are asking, how this (pyats) does it, not how to do this?
10-22-2025 09:03 AM
I just want to grab that .zip file, put it on my laptop, convert it (this is the unknown i.e. how to convert it) to html and open the html in my local laptop browser.
10-22-2025 09:10 AM
@l00pback understand, sadly a simple one step conversion command doesn't exist is due to the structure of the pyats log archive. You could copy the file to your machine, if you have pyats running then run the command "pyats logs view /path/to/your/log/file.zip", this will give you the option to open a localhost browser.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide