All,
I am trying to export out IS logs to a geodatabase to collect metrics on our hosted services. Before I went in and tried to parse through the XML in Python, I figured I would try the ISCommand ExtractLogs function.
First I ran:
ISCommand ExtractLogs --Folder=<Log File Folder Path> --Database=<Output DB Folder>
The process runs for a few seconds and finishes with an error:
"Failed to execute Export Log Command. Error: Command Failed : 'Extracting Log File to GDB'
The geodatabase is still created as is a couple megabytes in size, so I try to open it up in Catalog. When I do that, I get the following error message:
"Failed to connect to database. This release of the geodatabase is either invalid or out of data. [Unknown geodatabase release.] Item not found in this collection."
So then I tried the file option to export just a single log to the database using the following command:
ISCommand ExtractLogs --File=<Log File Location> --Database=<Output DB Folder>
This time the process runs without returning an error. The geodatabase is again created yet strangely the same size as the first attempt.
I get the same error as before and can not open the database. I also tried to run the command building a GDB vice an MDB, same results.
My question is, has anyone had any luck with this command? If not, does anyone have any good methods they have used to collect metrics on Image Services? We will be migrating to 10 soon so I'm not sure how much effort I want to put into parsing the logs.
Thanks in advance.