name-format (Flow Collection)
Syntax
name-format “format”;
Hierarchy Level
[edit services flow-collector file-specification variant variant-number]
Description
Specify the name format for a specific file format. The files can include supported macros. Use macros to organize files on the external machine to which they are exported from the collector PIC.
Options
format
—Specify
the filename format, within quotation marks. The name format can include
the following macros, typed in braces:
{%D}
—Date{%T)
—Time when the file is created{%I}
—Description string for the logical interface configured using thecollector
statement at the[edit services flow-collector interface-map]
hierarchy level{%N}
—Unique, sequential number for each new file created{am_pm}
—AM
orPM
{date}
—Current date using the{year} {month} {day}
macros{day}
—From01
through31
{day_abbr}
—Sun
throughSat
{day_full}
—Sunday
throughSaturday
{generation number}
—Unique, sequential number for each new file created{hour_12}
—From01
through12
{hour_24}
—From00
through23
{ifalias}
—Description string for the logical interface configured using thecollector
statement at the[edit services flow-collector interface-map]
hierarchy level{minute}
—From00
through59
{month}
—From01
through12
{month_abbr}
—Jan
throughDec
{month_full}
—January
throughDecember
{num_zone}
—From-2359
through+2359
; this macro is not supported{second}
—From00
through60
{time}
—Time the file is created, using the{hour_24} {minute} {second}
macros{time_zone}
—Time zone code name of the locale; for example,gmt
(this macro is not supported).{year}
—In the format YYYY; for example,1970
{year_abbr}
—From00
through99
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.