Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


monitor security flow file



Configure options for the security flow monitoring output.



Name of the file to receive the output of the monitoring operation. All output is saved in the /var/log/ directory.

files number

Maximum number of output files. If you specify a maximum number of files, you must also specify a maximum file size with the size option.

Range: 2 through 1000 files

Default: 10 files

match regular-expression

Refine the output to include lines that contain the regular expression.

size maximum-file-size

Maximum size of each output file. When an output file named output reaches this size, it is renamed output.0. When the output file again reaches its maximum size, output.0 is renamed output.1 and output file is renamed output.0. This renaming scheme continues until the maximum number of output files is reached. Then the oldest output file is overwritten.

If you specify a maximum file size, you also must specify a maximum number of output files with the files option.

Range: 10 KB through 1 GB

Default: 128 KB

(world-readable | no-world-readable)

By default, the output files can be accessed only by the user who configures the monitoring operation. The world-readable option enables all users to read the file. To explicitly set the default behavior, use the no-world-readable option.

Required Privilege Level


Output Fields

This command produces no output.

Release Information

Command introduced in Junos OS Release 12.1X46-D10.