System Log Parser FS Error

756
6
11-30-2021 09:22 AM
by Anonymous User
Not applicable

I'm trying to use System Log Parser 0.12.8.0 to analyze a local filesystem copy of logs from my ArcGIS Server. ArcGIS Server is on 10.8.1 on Linux, and I'm running System Log Parser on Windows 10.

The entire directory structure of the logs directory was copied to my local hard drive. When I point SLP at the log.info file it starts parsing but after 20kb parsed this error occurs:

error.PNG

As far as I can tell the log file appears to be a normally-formatted xml file that I can read directly in Notepad on Windows. I don't see any obvious problems with the log file itself. The time period for the query doesn't seem to make a difference.

Could the error come from copying the logs directly from a Linux install of ArcGIS Server to a Windows filesystem? 

Tags (1)
0 Kudos
6 Replies
JacobBoyle412
Esri Contributor

Yes, you'll have to run against the admin REST endpoint.

Jacob is a Sr. Solution Architect for Esri Professional Services and loves conservation planning, woodworking, LEGO, and his dogs.
Tags (1)
0 Kudos
by Anonymous User
Not applicable

Interesting, thank you.

We wanted to run SLP against a local filesystem copy because we want to create a summary of historic daily use of the server before clearing out logs to make room on disk. My network support person already cleared out the logs directory and gave me a copy. I suppose my best option now is to load a portion of the log files back onto the server filesystem (maybe one service at a time?), query it with the REST endpoint via SLP, save that summary to SDE, and then replace those logs with the next portion of them and repeat to maintain open disk space.

Unless something better comes to mind?

0 Kudos
JacobBoyle412
Esri Contributor

Well, ArcGIS Monitor would do the trick.

When you moved the logs, did you also grab the services, server, and error reports folders?  You need all three plus the info.log file.

Jacob is a Sr. Solution Architect for Esri Professional Services and loves conservation planning, woodworking, LEGO, and his dogs.
0 Kudos
by Anonymous User
Not applicable

Right. I don't believe we have Monitor on our contract.

And yes, he grabbed the three folders and the info.log file.

0 Kudos
JacobBoyle412
Esri Contributor

Can you make sure you have the current build of System Log Parser?  We just tested your workflow manually and had no issue. 

Jacob is a Sr. Solution Architect for Esri Professional Services and loves conservation planning, woodworking, LEGO, and his dogs.
0 Kudos
by Anonymous User
Not applicable

Yes, I originally scripted against the CLI for SLP 0.11.3.0, and when this issue came up I downloaded 0.12.8.0 which appears to be the latest available unless I'm missing something. I'm unable to read the Linux logs when they're copied down to my Windows machine with either version - same error from the screenshot above.

0 Kudos