This example audits all changes to the configuration secret data and sends the logs to a file named Audit-File:
- [edit system]
- syslog {
-
- file Audit-File {
- authorization info;
- change-log info;
- interactive-commands info;
- }
- }
This example expands the scope of the minimum audit to audit all changes to the configuration, not just secret data, and sends the logs to a file named Audit-File:
- [edit system]
- syslog {
-
- file Audit-File {
- kernel info;
- any any;
- authorization info;
- pfe info;
- change-log any;
- interactive-commands info;
- }
- }
For more information on system logging parameters and facilities, see the JUNOS System Basics Configuration Guide or the J-series Services Router Administration Guide.