Select to view content in your preferred language

Question about ArcGIS Server logging time elapsed

484
2
Jump to solution
01-15-2026 12:30 PM
MichaelJenkins
Frequent Contributor
I've been administering ArcGIS Servers for a long time and have often looked at the "view logs" tab to find services that are having problems.  I'm now questioning some of things I've been taking for granted, specifically in the "Time elapsed" column. 
 
1)  Is "Time elapsed" in seconds or milliseconds? 
I have always assumed it is in seconds because most of the entries are 0.xyzxy going out to 5 decimal places.  So, if I see 0.55621 I assume that is about half a second (556 milliseconds).  If I see 77.0 then that is 77 seconds and a problem that needs to be investigated.  Today I looked at the documentation to confirm it, because I was seeing some very high numbers, like in the several hundreds  range (466.0 for example).  The documentation says it is in milliseconds, which would mean that 0.55621 is actually 1/2 of a millisecond?  And 446.0 is nothing to worry about because it is less than half a second?  
Work with server logs—ArcGIS Server | Documentation for ArcGIS Enterprise
 
2) "Time elapsed" is treated as a text field?
Following the login in #1, I have always thought I could sort descending on Time Elapsed to find the longest transactions and use that to identify potential issues.   Today I realized it is sorting it as if were not numbers, but text?  How, then, can we identify the longest running transactions to target problem services??

 

AGS_Log_TimeElapsed.png

Any insight, clarification or workarounds would be appreciated.

 

 

 

GISP
0 Kudos
1 Solution

Accepted Solutions
JustinMallinckrodt
Esri Contributor

Hello @MichaelJenkins ;

Thanks for this post and sharing the detailed information. I spoke with @TravisSaladino and we agree that this not 100% working as designed.

 

1) It appears that map services are not properly showing in milliseconds but instead as seconds. This is a bug and has been logged internally. Other service types we tested were reporting correctly in milliseconds.

2) This is also correct, this field is not being treated as a numerical one and along with the bug for #1, will incorrectly sort fields. I've also gone ahead and reported this to our development team.

As a workaround, you could export and change the field in excel to numerical and do a proper sort from there.

View solution in original post

0 Kudos
2 Replies
TravisSaladino
Esri Contributor

I show using the Time Elapsed field in one of the classes I teach. My experience tells me the value is in seconds and measured to the millisecond. I'll check with our teams and see if I can get to the bottom of it. And yes it is sorted as if it is a string. 

As far as sorting goes, I agree the results are not what I expect either most of the time. But one thing you can do to help with interpretation, is to add the Request ID field and sort of that field. Also use the filter to just see message from one resource/service. Not a guarantee of success, just a suggestion.  

0 Kudos
JustinMallinckrodt
Esri Contributor

Hello @MichaelJenkins ;

Thanks for this post and sharing the detailed information. I spoke with @TravisSaladino and we agree that this not 100% working as designed.

 

1) It appears that map services are not properly showing in milliseconds but instead as seconds. This is a bug and has been logged internally. Other service types we tested were reporting correctly in milliseconds.

2) This is also correct, this field is not being treated as a numerical one and along with the bug for #1, will incorrectly sort fields. I've also gone ahead and reported this to our development team.

As a workaround, you could export and change the field in excel to numerical and do a proper sort from there.

0 Kudos