You can configure the filename, export interval, maximum size, and destination FTP server for log files containing the transfer activity history for a flow collector interface.
To configure a transfer log, include the transfer-log-archive statement at the [edit services flow-collector] hierarchy level:
- [edit services flow-collector]
-
transfer-log-archive {
-
-
archive-sites {
-
-
ftp:url {
-
password "password";
-
username username;
- }
- }
-
filename-prefix prefix;
-
maximum-age minutes;
- }
To configure the destination for archiving files, include the archive-sites statement. Specify the filename as follows:
- [edit services flow-collector transfer-log]
- filename "cFlowd-py69Ni69-0-%D_%T";
where cFlowd-py69Ni69-0 is the static portion used verbatim, %D is the date in YYYYMMDD format, and %T is the time in HHMMSS format.
You can optionally include the following statements: