Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Technical Documentation
 
CLI Explorer New
 
Content Explorer New
 
Documentation Help New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
Glossary
 
Portable Libraries
 
Home > Support > Technical Documentation > Junos Space > Archiving and Purging Audit Logs
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...

Documentation Search

Advanced Search |  Search Tips
 

Related Documentation

  • Junos Space Audit Logs Overview
  • Viewing Audit Logs
 

Archiving and Purging Audit Logs

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:

  • Archiving Audit Logs To a Local Server and Purging the Database
  • Archiving Audit Logs To a Remote Server and Purging the Database

Archiving Audit Logs To a Local Server and Purging the Database

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:

  1. Navigate to Platform > View Audit Logs > Archive Purge. The Archive/Purge dialog box appears.
  2. In the Archive Logs Before field, specify the date and time up which to archived and purged audit logs from the Junos Space database. You can only specify a date and time in the past.

    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.

  3. In the Archive Mode field, select local from the drop-down menu.
  4. Schedule the Junos Space Archive/Purge operation:

    • Clear the Schedule at a later time check box (the default) to initiate the Archive/Purge operation when you complete this procedure.
    • Select the Schedule at a later time check box to specify a later start date and time for the 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.

  5. Click Submit.

    The Audit Log Archive and Purge confirmation window displays the audit log file name and the location where it will be saved.

  6. Click Continue to archive and purge the audit logs.
  7. To view job details for the Audit Log Archive/Purge operation, click on the Job Id in the Job Information window; otherwise, click OK to close the window.

Archiving Audit Logs To a Remote Server and Purging the Database

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:

  1. Navigate to Platform > View Audit Logs > Archive Purge. The Archive/Purge dialog box appears.
  2. In the Achive Logs Before field, select a date and time to specify the date up to which all audit logs are to be archived and then purged from the Junos Space database. You can only specify date and time in the past.

    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.

  3. In the Archive Mode field, select Remote from the drop-down menu.
  4. Enter a valid user name to access the remote host server.
  5. Enter a valid password to access the remote host server.
  6. Reenter the password you entered in the previous step.
  7. Enter the IP address of the remote host server.
  8. Enter a directory path on the remote host server for the archived log files.

    Note: The directory path must already exist on the remote host server.

  9. Schedule the Junos Space archive and purge operation:

    • Clear the Schedule at a later time check box (the default) to initiate the Archive/Purge operation when you complete this procedure.
    • Select the Schedule at a later time check box to specify a later start date and time for the 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.

  10. Click Submit.

    The Audit Log Archive and Purge window displays the audit log file location and name and the remote server to which the files copy.

  11. Click Continue to archive and purge the audit logs.

    Junos Space displays the Audit Log Archive and Purge Job Information window.

  12. To view job details for the Archive/Purge operation, click the Job Id link.
  13. Click OK to close the window.
 

Related Documentation

  • Junos Space Audit Logs Overview
  • Viewing Audit Logs
 

Published: 2011-02-09

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out