Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

name-format (Flow Collection)

Syntax

Hierarchy Level

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 the collector statement at the [edit services flow-collector interface-map] hierarchy level

  • {%N}—Unique, sequential number for each new file created

  • {am_pm}AM or PM

  • {date}—Current date using the{year} {month} {day} macros

  • {day}—From01 through 31

  • {day_abbr}Sun through Sat

  • {day_full}Sunday through Saturday

  • {generation number}—Unique, sequential number for each new file created

  • {hour_12}—From 01 through 12

  • {hour_24}—From 00 through 23

  • {ifalias}—Description string for the logical interface configured using the collector statement at the [edit services flow-collector interface-map] hierarchy level

  • {minute}—From 00 through 59

  • {month}—From 01through 12

  • {month_abbr}Jan through Dec

  • {month_full}January through December

  • {num_zone}—From -2359 through +2359; this macro is not supported

  • {second}—From 00 through 60

  • {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}—From 00 through 99

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.