The log files created by a monitor’s file sink are automatically rotated when they reach a size of 10 MB. The 10MB file is saved as
filename.csv.n where
n is a number 1 - 10, and output is saved in a new file named
filename.csv.n+1.
The .csv files are rotated up to 10 times.
In the following example, a monitor has exceeded 10MB of output. The initial 10MB are stored in
filename.csv.1. Subsequent output is stored in
filename.csv.
service@sms-cluster-1:/var/log/VPlex/cli> ll my-data.csv* -rw-r--r-- 1 service users 2910722 2012-03-06 21:23 my-data.csv -rw-r--r-- 1 service users 10566670 2012-03-06 21:10 my-data.csv.1
If the second file exceeds, 10MB:
The previous
filename.csv.1 is changed to
filename.csv.2
The
filename.csv changes to
filename.csv.1
Subsequent output is stored in
filename.csv
Up to 10 such rotations, and numbered .csv files are supported.
When the file sink is removed or the monitor is destroyed, output to the .csv file stops, and the current .csv file is is timestamped. For example:
service@sms-cluster-1:/var/log/VPlex/cli> ll my-data.csv* -rw-r--r-- 1 service users 10566670 2012-03-06 21:23 my-data.csv.1 -rw-r--r-- 1 service users 5637498 2012-03-06 21:26 my-data.csv_20120306092614973
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\