It may be more appropriate to just collect this data from the director (either CSPM, Unix director, IDS MC, or IDS Event Viewer) as the data is already then and probably easier to collect, manipulate, transfer, and archive.
Look at the documentation for your director for more details.
my .02
Jeff