howto:rollover_security_audit_journal_file
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| howto:rollover_security_audit_journal_file [2023/04/07 15:00] – williams | howto:rollover_security_audit_journal_file [2025/11/04 22:33] (current) – mmacgregor | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| 2. Create a new version of the SECURITY.AUDIT$JOURNAL logfile: | 2. Create a new version of the SECURITY.AUDIT$JOURNAL logfile: | ||
| + | |||
| + | NOTE: This section has two pieces, if the first doesn' | ||
| < | < | ||
| Line 26: | Line 28: | ||
| $ SET PROCESS / | $ SET PROCESS / | ||
| </ | </ | ||
| + | < | ||
| + | $ DIR SYS$MANAGER: | ||
| + | |||
| + | Directory SYS$COMMON: | ||
| + | |||
| + | SECURITY.AUDIT$JOURNAL; | ||
| + | | ||
| + | SECURITY.AUDIT$JOURNAL; | ||
| + | | ||
| + | |||
| + | Total of 2 files, 1023849/ | ||
| + | </ | ||
| + | |||
| + | Notice the second file is the same size as the original. Instead use: | ||
| + | |||
| + | < | ||
| + | $ SHOW RMS | ||
| + | $ SET RMS / | ||
| + | $ SET AUDIT /SERVER=NEW | ||
| + | $ SET RMS / | ||
| + | $ DIR SYS$MANAGER: | ||
| + | |||
| + | Directory SYS$COMMON: | ||
| + | |||
| + | SECURITY.AUDIT$JOURNAL; | ||
| + | | ||
| + | SECURITY.AUDIT$JOURNAL; | ||
| + | 2/16 | ||
| + | SECURITY.AUDIT$JOURNAL; | ||
| + | | ||
| + | |||
| + | Total of 3 files, 1023849/ | ||
| + | </ | ||
| + | |||
| + | Notice that the second version closed small and third version started at 10,000 blocks. | ||
| 3. Purge old file versions to free up space -- keep as many recent versions as you like, but consider whether you'll ever actually need to investigate events in those older files (it hardly ever happens, but again, YMMV). | 3. Purge old file versions to free up space -- keep as many recent versions as you like, but consider whether you'll ever actually need to investigate events in those older files (it hardly ever happens, but again, YMMV). | ||
howto/rollover_security_audit_journal_file.txt · Last modified: 2025/11/04 22:33 by mmacgregor