1

What is the CLI syntax to remove webserver-logs from a Palo Alto router?

2
  • 2
    A bit more detail should be offered up. Software version number, what you've tried already, hardware platform if relevant. Feb 8, 2015 at 5:03
  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 11, 2017 at 4:11

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.