file (Analytics)
Syntax
file filename { files number-of-files; size size; }
Hierarchy Level
[edit services analytics collector local] [edit services analytics queue-statistics] [edit services analytics traffic-statistics]
Description
Enable the logging of queue or traffic monitoring statistics in a local file. This statement does not enable monitoring.
Default
This feature is disabled by default.
Options
filename | Specify a filename for storing queue and traffic monitoring statistics in the Comma-separated Values (CSV) format. 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. Note:
In Junos OS Release 13.2X51-D15 or later, you configure a single filename to store both queue and traffic monitoring statistics. In Junos OS Release 13.2X51-D10 and earlier, you configure separate files for storing monitoring data, one for queue statistics, and another for traffic statistics. |
files number-of-files | Specify the number of files to store locally. After the number of files with 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.
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.