Page 1 of 1

Export Log

Posted: Mon Apr 03, 2006 10:16 am
by DSguru2B
Is there any way to export all the information from the Director to a CSV or some flat file.

Posted: Mon Apr 03, 2006 10:23 am
by ArndW
Use a shell script that uses the dsjob command, it first gets the list of jobs in a project and then loops through all elements in that list to put the log contents into a sequential file.

Posted: Mon Apr 03, 2006 10:30 am
by DSguru2B
I dont want an automated way to do this as it will not be a part of the Job Process. I am looking for a one time manual process instead.

Posted: Mon Apr 03, 2006 10:47 am
by ArndW
The basic method remains the same, the command line to list a job's log requires a project and a job name. I would do a dsjob -ljobs for a project into a text file, then edit that file to execute the dsjob -log for each of the jobs found.

Posted: Tue Apr 04, 2006 12:21 pm
by mauherga
Hi DSguru2B,

Use the Print option in DS Director and select the "Print to File option" and save the information in a text file. Then use like you want.

I hope this can help you