The administrator can archive and then purge all audit logs files up to a specified data and time from the Junos Space database. The administrator can archive audit logs to the local server or a remote server location.
The archive file is stored in the The Junos Space archive file uses the following naming conventions:
JunosSpaceAuditLog_date_time_id.csv.gz, where date specifies the year, month, and
day, in the format yyyy-mm-dd , time specifies hours, minutes,
and seconds, in the format hh-mm-ss, and id is a 13 character random number that
uniquely identifies each audit log archive file.
This topic includes the following tasks:
You can archive audit logs to the local server. The local server is the server that functions as the active node in the Junos Space fabric.
To archive Junos Space audit log files to the local server and then purge the audit logs from the database:
![]() | Note: If you do not specify a date and time in the Archive Logs Before field, Junos Space archives then purges from the database all logs generated up to the time that you initiated the operation. |
Schedule the Junos Space Archive/Purge operation:
![]() | Note: The selected time in the scheduler corresponds to Junos Space server time but using the local time zone of the client computer. |
The Audit Log Archive and Purge confirmation window displays the audit log file name and the location where it will be saved.
You can archive audit logs to remote network hosts or media.
To back up the Junos Space database to a remote host and then purge those logs from the Junos Space database:
![]() | Note: If you do not specify a date and time in the Archive Logs Before field, Junos Space will archive and then purge from the database all logs generated up to the time that you initiated the operation. |
![]() | Note: The directory path must already exist on the remote host server. |
Schedule the Junos Space archive and purge operation:
![]() | Note: The selected time in the scheduler corresponds to Junos Space server time but using the local time zone of the client computer. |
The Audit Log Archive and Purge window displays the audit log file location and name and the remote server to which the files copy.
Junos Space displays the Audit Log Archive and Purge Job Information window.