To configure CSV file compression and renaming

Steps
 

Log in to the NSP Flow Collector station as the nsp user.


Open the following file using a plain-text editor such as vi:

/opt/nsp/flow/fc/cfg/CfdStorage.properties


Locate the csv file section.


To enable gzip file compression of the output files:

  1. Locate the section that begins with the following:

    # compression option for CSV files

  2. Set the following parameter to true, as shown below:

    com.alu.bsx.cfd.collector.storage.disk.csv.gz=true


To enable the addition of a timestamp as a filename prefix:

Note: The prefix format is the following:

YYYYMMDDhhmmss_

where YYYYMMDDhhmmss is the collection interval start time

  1. Locate the section that begins with the following:

    # add time prefix on transfer option for CSV files

  2. Set the following parameter to true, as shown below:

    com.alu.bsx.cfd.collector.storage.disk.csv.tpot=true


Save and close the CfdStorage.properties file.

End of steps