Download Logs

The log files generated by Plex provide important information when debugging issues with the Plex Media Server. While the files can easily be accessed from the server, it may be more convenient to download them from the server.

This API command will trigger Plex to compress the log files in a zip file, and then send them to the system making the request.

URL

GET http://[IP address]:32400/diagnostics/logs/?X-Plex-Token=[PlexToken]

Parameters

NameDescription
IP addressThe IP address of the Plex Media server.
PlexTokenThe temporary authentication Plex token.

Return Status

HTTP CodeDescription
200Success - The request was successful.
401Unauthorized - The Plex token provided was not valid.

Response

When run from a Web browser, this command will download the Plex log files in a zip file to the local system. The size of the download depends on how the size the number of log files available on the server.

Examples

Example 1

Download a compressed copy of the Plex log files from the Plex Media Server located at the IP address of 192.168.1.4:

GET http://192.168.1.4:32400/diagnostics/logs/?X-Plex-Token=L6vkd7JtLHjsH5987vYY