The statistics file writer component controls how accounting and statistics records are written when the output format has been set to csv by the mqsichangeflowstats command.
mqsichangeproperties integrationNodeName -e integrationServerName -o ComIbmStatsFileWriter -n property_name -v property_value
Use these properties to control the collection of accounting and statistics data, as described in Starting collection of message flow accounting and statistics data.
You can change the following properties and values for the statistics file writer component:
On UNIX systems, the files are written to the /var/mqsi/common/stats directory by default. On other platforms there is no default location, and the filePath property must be specified. The specified directory must exist when the statistics are enabled by using the mqsichangeflowstats command, and the integration node's user ID must have permission to write to this directory.
When a file is full, the file writer moves on to the next file, up to the specified maximum. When the last file has been filled, it starts overwriting data in the first file. This cycle of writing continues, ensuring that the newest data is retained.
For example, if the statistics file writer is configured with the numberOfFiles set to 3, the sizeOfFile set to 10, and both node and flow data is configured, the total size required by accounting and statistics files would be 3 * 10 * 2 = 60Mb for each integration server. If this space is not available, an error is logged.