<?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>idea Service Usage Statistics By User in ArcGIS Enterprise Ideas</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idi-p/1189900</link>
    <description>&lt;P&gt;At my organization, we maintain a number of different services that are used by a variety of clients.&amp;nbsp; We need to bill clients for the services they use, so two questions come up fairly frequently:&lt;BR /&gt;1) Which users are using service X, and&lt;/P&gt;&lt;P&gt;2) How much is user Y using service X?&lt;/P&gt;&lt;P&gt;It would be very helpful if, in addition to the statistics on overall service usage available from ArcGIS Server, there were also a breakdown of which users were making requests.&amp;nbsp; This functionality is also helpful when working with deprecated services, because it provides an easy way to see which users we need to contact about moving to new services.&lt;/P&gt;&lt;P&gt;The requests are generally already using the ArcGIS Server or Portal authentication, so logging (timestamp, service, user) and then getting statistics on that should be fairly straightforward.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 15:01:58 GMT</pubDate>
    <dc:creator>BillMitchell</dc:creator>
    <dc:date>2022-07-06T15:01:58Z</dc:date>
    <item>
      <title>Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idi-p/1189900</link>
      <description>&lt;P&gt;At my organization, we maintain a number of different services that are used by a variety of clients.&amp;nbsp; We need to bill clients for the services they use, so two questions come up fairly frequently:&lt;BR /&gt;1) Which users are using service X, and&lt;/P&gt;&lt;P&gt;2) How much is user Y using service X?&lt;/P&gt;&lt;P&gt;It would be very helpful if, in addition to the statistics on overall service usage available from ArcGIS Server, there were also a breakdown of which users were making requests.&amp;nbsp; This functionality is also helpful when working with deprecated services, because it provides an easy way to see which users we need to contact about moving to new services.&lt;/P&gt;&lt;P&gt;The requests are generally already using the ArcGIS Server or Portal authentication, so logging (timestamp, service, user) and then getting statistics on that should be fairly straightforward.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:01:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idi-p/1189900</guid>
      <dc:creator>BillMitchell</dc:creator>
      <dc:date>2022-07-06T15:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189905#M2895</link>
      <description>&lt;P&gt;You could give this a whirl to see if it helps you out &lt;A href="https://github.com/wagisdev/AGOL-Meta-Snagger" target="_blank"&gt;https://github.com/wagisdev/AGOL-Meta-Snagger&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;It can snag data about all your items in AGOL, how many are owned by a user, the use of those services (can't tell by who, but it does give you a count), etc. I used it to build dashboards like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="John_Spence_0-1657119958137.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45320i87E447071D0E44A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="John_Spence_0-1657119958137.png" alt="John_Spence_0-1657119958137.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="John_Spence_1-1657120123706.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45321i57AF1FDBB5F2D4F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="John_Spence_1-1657120123706.png" alt="John_Spence_1-1657120123706.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:09:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189905#M2895</guid>
      <dc:creator>John_Spence</dc:creator>
      <dc:date>2022-07-06T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189933#M2896</link>
      <description>&lt;P&gt;What I need is statistics like the following:&lt;/P&gt;&lt;P&gt;Sample World Cities usage, 6/1/2022-6/30/2022&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;User&lt;/TD&gt;&lt;TD width="50%"&gt;Requests&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;Robin&lt;/TD&gt;&lt;TD width="50%"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;Taylor&lt;/TD&gt;&lt;TD width="50%"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;Jamie&lt;/TD&gt;&lt;TD width="50%"&gt;22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;Alex&lt;/TD&gt;&lt;TD width="50%"&gt;142&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Being able to export the (timestamp, service, user) data to use with other analytics tooling would be a nice bonus, but the basic per-user usage report is the main ask.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189933#M2896</guid>
      <dc:creator>BillMitchell</dc:creator>
      <dc:date>2022-07-06T15:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189935#M2897</link>
      <description>&lt;P&gt;Sorry to say, but that is likely not easily possible. You might be able to narrow it down to the clients IP range via IIS, but you would have to parse those logs pulling out every call and determine which ones you want to count.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:51:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189935#M2897</guid>
      <dc:creator>John_Spence</dc:creator>
      <dc:date>2022-07-06T15:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189943#M2898</link>
      <description>&lt;P&gt;Right.&amp;nbsp; This would need to be implemented by Esri, which is why it's posted in the ArcGIS Enterprise Ideas forum. There is an authentication routine happening when the ArcGIS Server service is being used, and in that authentication routine logging the timestamp, user, and endpoint should be known to the handling function.&amp;nbsp; It may need to be logged to a separate file or given a certain tag or something, but collecting these usage statistics shouldn't be that difficult and it would be very helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 16:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189943#M2898</guid>
      <dc:creator>BillMitchell</dc:creator>
      <dc:date>2022-07-06T16:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189949#M2899</link>
      <description>&lt;P&gt;LOL! Oh no! I am obviously not firing on all cylinders this morning. Sorry about that and yes...that is a good idea.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 16:07:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1189949#M2899</guid>
      <dc:creator>John_Spence</dc:creator>
      <dc:date>2022-07-06T16:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1212424#M2967</link>
      <description>&lt;P&gt;After further discussions with Esri, they suggested that there was certain logging that could be done already and then parsed via a &lt;A href="https://hub.arcgis.com/content/90134fb0f1c148a48c65319287dde2f7/about" target="_self"&gt;system log parser&lt;/A&gt;.&amp;nbsp; In investigating that option, I found that it required the log output level to be set to &lt;EM&gt;Fine&lt;/EM&gt; rather than where we had it set, &lt;EM&gt;Warning&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I changed the log level to &lt;EM&gt;Fine&lt;/EM&gt;, and soon started seeing user/service events being logged (they're &lt;EM&gt;Info&lt;/EM&gt; level, and event code 9029).&amp;nbsp; For log export, there's an &lt;A href="https://developers.arcgis.com/rest/enterprise-administration/server/logsquery.htm" target="_self"&gt;API endpoint&lt;/A&gt; which can pre-filter to just the event code you're looking for over a specified time.&amp;nbsp; Logs are also stored in the /arcgisserver/logs/ directory.&amp;nbsp; The user/service events (code 9029) are in the /arcgisserver/logs/server/ directory, though response information can be found in the /arcgisserver/logs/services/&amp;lt;service&amp;gt; directory.&lt;/P&gt;&lt;P&gt;One potentially significant caveat, though, is that if a user is geocoding/reverse-geocoding sensitive information, the response to their query will be logged at the &lt;EM&gt;Info&lt;/EM&gt; level too.&amp;nbsp; This is an unfortunate design choice, and we are still considering how to handle measuring geocoder usage via metadata while not logging any of the data being sent/returned.&amp;nbsp; We may have to implement a &lt;A href="https://developers.arcgis.com/enterprise-sdk/guide/net/what-is-an-soi-net/" target="_blank" rel="noopener"&gt;Server Object Interceptor (SOI)&lt;/A&gt; to log just what we need instead of changing the ArcGIS Server log level.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 13:46:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1212424#M2967</guid>
      <dc:creator>BillMitchell</dc:creator>
      <dc:date>2022-09-14T13:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1212428#M2968</link>
      <description>&lt;P&gt;Oh that is good info and makes sense as that is the same configuration needed for ArcGIS Monitor. Thank you for the update!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 13:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1212428#M2968</guid>
      <dc:creator>John_Spence</dc:creator>
      <dc:date>2022-09-14T13:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1359803#M3551</link>
      <description>&lt;P&gt;To clarify what this request is really getting at, let me explain why we need this feature.&amp;nbsp; I work at a state geospatial agency, which offers enterprise GIS services and support to other agencies and boards within the state government.&amp;nbsp; We are funded through direct appropriations, but primarily through service contracts with the agencies we support.&amp;nbsp; For ventures such as our in-house geocoding service, we need to charge back for the cost of providing that service.&amp;nbsp;&amp;nbsp;Some of the agencies using these services are wary about logging, since they deal with personally identifiable information, personal health information, or other sensitive/protected data types.&amp;nbsp; To alleviate those concerns, we need to minimize our logging of request and response data.&lt;/P&gt;&lt;P&gt;We may have a large agencies (for instance, department of health, department of public safety), where geocoding is part of high-traffic automated business processes that generate around 10k geocodes/day.&amp;nbsp; Meanwhile, a small board may need to geocode 100 addresses or so every quarter.&amp;nbsp; Without data on the usage of these two, in order to recover costs for the geocoding service, we either charge a flat rate for both clients (which seems unfair to the small agency), or make some guess about the relative cost of support and try to proportion it out subjectively.&amp;nbsp; Having per-user service usage statistics would allow us to create a data-driven cost recovery model, not unlike the credit system used by the Esri world geocoder.&lt;/P&gt;&lt;P&gt;Other services, such as a statewide parcel service, may have disparate usage by various applications.&amp;nbsp; Knowing the relative usage can again help apportion costs of providing the service, or demonstrate who might need to be approached regarding the need for improved service reliability/performance.&lt;/P&gt;&lt;P&gt;There are other benefits to having the service usage statistics broken down per-user.&amp;nbsp; If we are deprecating a service, it could let us find out easily who/what application is still using the old service.&amp;nbsp; Or if there were questions about a dataset, identifying the frequent users may point to which users have expertise in that data.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 17:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1359803#M3551</guid>
      <dc:creator>BillMitchell</dc:creator>
      <dc:date>2023-12-12T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1493955#M3821</link>
      <description>&lt;P&gt;There is an enhancement request for this feature,&amp;nbsp;ENH-000164419.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 19:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1493955#M3821</guid>
      <dc:creator>BillMitchell</dc:creator>
      <dc:date>2024-06-17T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1522694#M3864</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/427502"&gt;@BillMitchell&lt;/a&gt;&amp;nbsp;, I would appreciate it if you could share the URL for this &lt;SPAN&gt;ENH-000164419&amp;nbsp;&lt;/SPAN&gt;enhancement so I can check its status. I searched for this &lt;SPAN&gt;ENH-000164419&amp;nbsp;&lt;/SPAN&gt;enhancement on Google, ESRI Community site, ESRI bug site but was unable to find any additional information.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 03:03:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1522694#M3864</guid>
      <dc:creator>AnjulPandey</dc:creator>
      <dc:date>2024-08-16T03:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Service Usage Statistics By User</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1526559#M3869</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191828"&gt;@AnjulPandey&lt;/a&gt;, it seems that the enhancement details are not publicly available.&amp;nbsp; However, that enhancement can be referenced if you have a support ticket.&amp;nbsp; Given the response from Esri so far to this thread an the enhancement ticket, it might not be unreasonable to request the enhancement yourself via a support ticket, and reference this thread and the existing enhancement ticket.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 16:56:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/service-usage-statistics-by-user/idc-p/1526559#M3869</guid>
      <dc:creator>BillMitchell</dc:creator>
      <dc:date>2024-08-23T16:56:35Z</dc:date>
    </item>
  </channel>
</rss>

