Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

monitor security flow file

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
monitor security flow file
<file-name>
<files number>
<match regular-expression>
<size maximum-file-size>
<(world-readable | no-world-readable)>

Description

Configure options for the security flow monitoring output.

Options

filename

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

trace

Output Fields

This command produces no output.

Release Information

Command introduced in Junos OS Release 12.1X46-D10.

footer-navigation