What is the CLI syntax to remove webserver-logs from a Palo Alto router?
Interesting question. From the PAN-OS CLI Reference Guide:
The following command lists the contents of the web server error log.
username@hostname> less webserver-log error.log
webserver-log — Lists contents of the specified webserver log file (press tab for a list of log files)
The CLI Reference Guide mentions the
clear command but it does not apply to the web-server logs.
From this Palo Alto support page, the
delete command can be used to delete specific files.
Source: Palo Alto - delete command
I would suggest trying
delete ? to see the full context of the delete command.