<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Understanding .dat-i and .dat-u from server statistics in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-dat-i-and-dat-u-from-server/m-p/1137553#M32290</link>
    <description>&lt;P&gt;Stanley - what about the System Log Parser?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/implementing-arcgis-blog/system-log-parser-statistics-and-service/ba-p/886389" target="_blank"&gt;https://community.esri.com/t5/implementing-arcgis-blog/system-log-parser-statistics-and-service/ba-p/886389&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Bernie.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jan 2022 19:05:22 GMT</pubDate>
    <dc:creator>berniejconnors</dc:creator>
    <dc:date>2022-01-26T19:05:22Z</dc:date>
    <item>
      <title>Understanding .dat-i and .dat-u from server statistics</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-dat-i-and-dat-u-from-server/m-p/1137394#M32285</link>
      <description>&lt;P&gt;&lt;STRONG&gt;tl;dr What is the format of .dat-i and .dat-u files in arggisssystem/statistics?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to analyse usage patterns for our web services so I can optimise resource allocation (for example, increasing/decreasing running instances). I've tried a few methods that didn't quite work:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The statistics report tool built into ARCGIS server manager is not suitable for this task because it can only produce pretty limited statistical outputs.&lt;/LI&gt;&lt;LI&gt;The export function that is built-in only produces a few data points at a time which makes it a very slow way of extracting the data that sits behind it. (Approx 3 hours to get a sample of 20 .csv's)&lt;/LI&gt;&lt;LI&gt;The API works, but only seems able to retrieve total figures. It doesn't seem to have a parameter that lets me specify a date range for the data.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;So I've found the place where the statistics are actually saved:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StanleyBrown_1-1643194424835.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32344i6A445C7DD44C0ED8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StanleyBrown_1-1643194424835.png" alt="StanleyBrown_1-1643194424835.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Location of files ^. Although at first menacing, both the .dat-i and the .dat-u files turned out to be structured like csv's.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StanleyBrown_2-1643194535562.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32345iE89801B94056D8A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StanleyBrown_2-1643194535562.png" alt="StanleyBrown_2-1643194535562.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sample .dat-i ^&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StanleyBrown_3-1643194570218.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32346iA6B241D189BED79A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StanleyBrown_3-1643194570218.png" alt="StanleyBrown_3-1643194570218.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sample .dat-u ^&lt;/P&gt;&lt;P&gt;So it seems I have managed to find all the statistics I could ever want in a simple machine-readable format that is well suited for statistical analysis. Hurrah! However, I'm not quite sure what most of the fields actually are.&lt;/P&gt;&lt;P&gt;The first field in both is an epoch timestamp in milliseconds. The second is the address of each service.&lt;/P&gt;&lt;P&gt;Then the .dat-i files have 4 other fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The number 60&lt;/LI&gt;&lt;LI&gt;The number 0.000&lt;/LI&gt;&lt;LI&gt;Either 1.000, 2.000, or 3.000&lt;/LI&gt;&lt;LI&gt;Either 0.000, 30.000, 58.000 or 60.000&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Wheras, the dat-u files have 7 other fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;An integer, mostly under 100&lt;/LI&gt;&lt;LI&gt;0, 1, 2 or 3&lt;/LI&gt;&lt;LI&gt;0&lt;/LI&gt;&lt;LI&gt;0&lt;/LI&gt;&lt;LI&gt;An integer, mostly under 100, mostly the same value as field 1.&lt;/LI&gt;&lt;LI&gt;A 3 decimal place value, mostly under 1&lt;/LI&gt;&lt;LI&gt;A 3 decimal place value, typically higher than field 7.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I have some of my own guesses for some of these, but it would be really helpful if any of you either know for sure what they are, have good guesses, or can point me to the documentation for this. Also, what is the difference between the dat.i and the dat.u files? Thanks for reading!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 15:01:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-dat-i-and-dat-u-from-server/m-p/1137394#M32285</guid>
      <dc:creator>StanleyBrown</dc:creator>
      <dc:date>2022-01-26T15:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding .dat-i and .dat-u from server statistics</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-dat-i-and-dat-u-from-server/m-p/1137553#M32290</link>
      <description>&lt;P&gt;Stanley - what about the System Log Parser?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/implementing-arcgis-blog/system-log-parser-statistics-and-service/ba-p/886389" target="_blank"&gt;https://community.esri.com/t5/implementing-arcgis-blog/system-log-parser-statistics-and-service/ba-p/886389&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Bernie.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 19:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-dat-i-and-dat-u-from-server/m-p/1137553#M32290</guid>
      <dc:creator>berniejconnors</dc:creator>
      <dc:date>2022-01-26T19:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding .dat-i and .dat-u from server statistics</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-dat-i-and-dat-u-from-server/m-p/1138866#M32315</link>
      <description>&lt;P&gt;Thanks Bernie!&lt;/P&gt;&lt;P&gt;That's working wonders, I knew there had to be an easier way. Thanks so much for pointing it out.&lt;/P&gt;&lt;P&gt;Stanley&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 13:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-dat-i-and-dat-u-from-server/m-p/1138866#M32315</guid>
      <dc:creator>StanleyBrown</dc:creator>
      <dc:date>2022-01-31T13:45:02Z</dc:date>
    </item>
  </channel>
</rss>

