traceoptions (Analytics)
Syntax
traceoptions {
file filename;
files number-of-files;
size size;
}
Hierarchy Level
[edit services analytics]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Configure traceoptions for the network analytics daemon (analyticsd) running on the Routing Engine.
Options
| file filename | Specify a filename for storing the traceoptions data. The file is stored in the /var/log/ directory of your device. If you do not specify a filename, the data is not stored in a file. |
| files number-of-files | Specify the number of files to store locally. After the number files witsh the maximum file size is reached, the system starts over and writes the data to the first file.
|
| size size | Configure the file size in megabytes (MB).
|
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 13.2.