Archiving Logs
You can archive and retrieve log entries to and from a storage device using standard Unix
commands.
Logs reside on the Device Server in the following directory:
/usr/netscreen/DevSvr/var/logs
We recommend using the following commands to archive your logs:
•
The
tar
command
•
The
scp
(Secure Copy) command
•
The
ftp
(File Transfer Protocol) command
For full descriptions and options for each command, see the man pages.
NOTE:
You do not need to stop the processes on the Device Server before archiving.
Log Archival Mechanism
All managed device logs are stored in /usr/netscreen/DevSvr/var/logs that contains logs
and associated files organized into subdirectories for each day. To archive the logs for a
specified day, archive the entire directory for that day.
Each directory is named according to the YYYYMMDD convention, indicating the day
contained in the directory. Do not attempt to archive the current day’s files. You can
automate archival using cron. To archive logs:
1.
Use
scp
to copy all directories in /usr/netscreen/DevSvr/var/logs/ to a remote archival
location.
2.
Remove the directories from the Device Server machine.
You can analyze the archived logs later by restoring them to the logs directory on the
Device Server. The restored logs are then available in the
Log Viewer
and
Log Investigator
just as they were before archival.
1.
Use scp to copy directories from the remote archival location to
/usr/netscreen/DevSvr/var/logs/
.
2.
Analyze the logs using the NSM UI.
3.
Remove directories when finished with analysis.
Setting Log Storage Limits
You can specify the number of days that NSM stores logs; as well as purge or archive a
specified log based on the following configurable criteria:
•
“Date Limits” on page 785
•
System-Wide Retention Policy
Copyright © 2010, Juniper Networks, Inc.
784
Network and Security Manager Administration Guide
Содержание NETWORK AND SECURITY MANAGER 2010.3
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 36: ...Copyright 2010 Juniper Networks Inc xxxvi Network and Security Manager Administration Guide...
Страница 52: ...Copyright 2010 Juniper Networks Inc 2 Network and Security Manager Administration Guide...
Страница 90: ...Copyright 2010 Juniper Networks Inc 40 Network and Security Manager Administration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 94 Network and Security Manager Administration Guide...
Страница 146: ...Copyright 2010 Juniper Networks Inc 96 Network and Security Manager Administration Guide...
Страница 234: ...Copyright 2010 Juniper Networks Inc 184 Network and Security Manager Administration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 260 Network and Security Manager Administration Guide...
Страница 364: ...Copyright 2010 Juniper Networks Inc 314 Network and Security Manager Administration Guide...
Страница 366: ...Copyright 2010 Juniper Networks Inc 316 Network and Security Manager Administration Guide...
Страница 478: ...Copyright 2010 Juniper Networks Inc 428 Network and Security Manager Administration Guide...
Страница 576: ...Copyright 2010 Juniper Networks Inc 526 Network and Security Manager Administration Guide...
Страница 580: ...Copyright 2010 Juniper Networks Inc 530 Network and Security Manager Administration Guide...
Страница 592: ...Copyright 2010 Juniper Networks Inc 542 Network and Security Manager Administration Guide...
Страница 684: ...Copyright 2010 Juniper Networks Inc 634 Network and Security Manager Administration Guide...
Страница 690: ...Copyright 2010 Juniper Networks Inc 640 Network and Security Manager Administration Guide...
Страница 696: ...Copyright 2010 Juniper Networks Inc 646 Network and Security Manager Administration Guide...
Страница 698: ...Copyright 2010 Juniper Networks Inc 648 Network and Security Manager Administration Guide...
Страница 748: ...Copyright 2010 Juniper Networks Inc 698 Network and Security Manager Administration Guide...
Страница 778: ...Copyright 2010 Juniper Networks Inc 728 Network and Security Manager Administration Guide...
Страница 870: ...Copyright 2010 Juniper Networks Inc 820 Network and Security Manager Administration Guide...
Страница 872: ...Copyright 2010 Juniper Networks Inc 822 Network and Security Manager Administration Guide...
Страница 898: ...Copyright 2010 Juniper Networks Inc 848 Network and Security Manager Administration Guide...
Страница 908: ...Copyright 2010 Juniper Networks Inc 858 Network and Security Manager Administration Guide...
Страница 910: ...Copyright 2010 Juniper Networks Inc 860 Network and Security Manager Administration Guide...
Страница 995: ...PART 6 Index Index on page 947 945 Copyright 2010 Juniper Networks Inc...
Страница 996: ...Copyright 2010 Juniper Networks Inc 946 Network and Security Manager Administration Guide...