<?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 Number of people connected to global protect in GlobalProtect Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/number-of-people-connected-to-global-protect/m-p/537853#M3888</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are doing a review of the number of people connected via global protect at certain points in time.&lt;/P&gt;
&lt;P&gt;Is there a way to get a report of this from the logs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the reports i got i seem to be only getting when people connected in so if i pick a certain point in time it does not give an accurate number of people connected.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 08:39:55 GMT</pubDate>
    <dc:creator>KarlHalpin</dc:creator>
    <dc:date>2023-04-06T08:39:55Z</dc:date>
    <item>
      <title>Number of people connected to global protect</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/number-of-people-connected-to-global-protect/m-p/537853#M3888</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are doing a review of the number of people connected via global protect at certain points in time.&lt;/P&gt;
&lt;P&gt;Is there a way to get a report of this from the logs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the reports i got i seem to be only getting when people connected in so if i pick a certain point in time it does not give an accurate number of people connected.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 08:39:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/number-of-people-connected-to-global-protect/m-p/537853#M3888</guid>
      <dc:creator>KarlHalpin</dc:creator>
      <dc:date>2023-04-06T08:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Number of people connected to global protect</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/number-of-people-connected-to-global-protect/m-p/537870#M3889</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/211922"&gt;@KarlHalpin&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The logs include both login and logout.&amp;nbsp; So, current users can be calculated with automation on your logging server.&amp;nbsp; At the time of this discussion (2015) -&amp;gt; &lt;A href="https://live.paloaltonetworks.com/t5/general-topics/globalprotect-monitoring/td-p/20435" target="_blank"&gt;https://live.paloaltonetworks.com/t5/general-topics/globalprotect-monitoring/td-p/20435&lt;/A&gt; an SNMP OID for GP current users was not available.&amp;nbsp; However, it does have a solution via API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This document (2022) -&amp;gt; &lt;A href="https://www.nectus5.com/how-to-monitor-number-of-palo-alto-vpn-global-protect-users/" target="_blank"&gt;https://www.nectus5.com/how-to-monitor-number-of-palo-alto-vpn-global-protect-users/&lt;/A&gt; lists an SNMP OID to retrieve connected users!&amp;nbsp; That may be the easiest solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a reference, this doc -&amp;gt; &lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Clor" target="_blank"&gt;https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Clor&lt;/A&gt; shows how to list users via GUI, CLI, and API.&amp;nbsp; The GUI and CLI also provide a count.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, it looks like the solution is to use SNMP or automation with syslog, API, GUI, or CLI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 12:03:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/number-of-people-connected-to-global-protect/m-p/537870#M3889</guid>
      <dc:creator>TomYoung</dc:creator>
      <dc:date>2023-04-06T12:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Number of people connected to global protect</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/number-of-people-connected-to-global-protect/m-p/537878#M3891</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/211922"&gt;@KarlHalpin&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I personally recommend that clients keep a script running that can record the number of active users. The basis of that is simply '&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;A href="https://&amp;lt;firewall&amp;gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;global-protect-gateway&amp;gt;&amp;lt;statistics&amp;gt;&amp;lt;/statistics&amp;gt;&amp;lt;/global-protect-gateway&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&amp;lt;key&amp;gt;'" target="_blank" rel="noopener"&gt;https://&amp;lt;firewall&amp;gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;global-protect-gateway&amp;gt;&amp;lt;statistics&amp;gt;&amp;lt;/statistics&amp;gt;&amp;lt;/global-protect-gateway&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&amp;lt;key&amp;gt;'&lt;/A&gt;&amp;nbsp;and you would want to parse the return to ['response']['result']['TotalCurrentUsers'] to return the value of active users. This value can then be written in any format that you want whether that be to a log file of some sort, a database, or whatever else you decide.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If you're looking solely at historical logs instead of those moving forward, the logout events will give you the duration in seconds that you can use to calculate who was connected when. Obviously this method would present a large amount of overhead and review to get it broken down to a specific day or further than that, but it is certainly possible with enough time investment.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Just realized how poorly that example presented.&lt;/DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;https://&amp;lt;firewall&amp;gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;global-protect-gateway&amp;gt;&amp;lt;statistics&amp;gt;&amp;lt;/statistics&amp;gt;&amp;lt;/global-protect-gateway&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&amp;lt;key&amp;gt;

# Replace &amp;lt;firewall&amp;gt; with your own firewall FQDN/IP #
# Replace &amp;lt;key&amp;gt; with your API key #&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Apr 2023 13:22:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/number-of-people-connected-to-global-protect/m-p/537878#M3891</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2023-04-06T13:22:21Z</dc:date>
    </item>
  </channel>
</rss>

