lamw / ghettoVCB

ghettoVCB
MIT License
1.28k stars 364 forks source link

Feature request - write CSV file of operations and results. #262

Open poodad opened 2 years ago

poodad commented 2 years ago

It would be really handy to have a CSV file of the operation and results. Something like:

VM1, /vmfs/volumes/datastore1/VM1/VM1.vmdk,0 VM1, /vmfs/volumes/datastore1/VM1/VM1_1.vmdk,0 VM2, /vmfs/volumes/datastore1/VM2/VM2.vmdk,0

If you wanted to get fancy, you could add the elapsed time as well.

My personal use case for this is to write a script that runs after ghettoVCB.sh, reads this file, parses it, then uses wget to write to an InfluxDB database so that it can be displayed in Grafana.