Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

 

Related Documentation

 

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]

Release Information

Statement introduced in Junos OS Release 13.2 for the QFX Series.

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.

Range: 2 to 1,000 files.

size size

Configure the file size in megabytes (MB).

Syntax: xm to specify MB.

Range: 10 to 4095 MB

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

 

Related Documentation

 

Published: 2014-07-23

Supported Platforms

 

Related Documentation

 

Published: 2014-07-23