<?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: Is there a log file on the Connection Broker showing who's logged onto the VDI's system externaly? in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259910#M88450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we are connecting directly to the connection broker so I thought there was a file in the connection broker that tell's me who's been connecting to the system. Is there such a file or not? and if so where is it. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2019 17:29:20 GMT</pubDate>
    <dc:creator>txfree2</dc:creator>
    <dc:date>2019-03-28T17:29:20Z</dc:date>
    <item>
      <title>Is there a log file on the Connection Broker showing who's logged onto the VDI's system externaly?</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259907#M88447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I work at a university student's log into our external facing vdi connection broker on there laptops, is there a log file somewhere on the connection broker that will show me who has logged onto the system? Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 17:52:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259907#M88447</guid>
      <dc:creator>txfree2</dc:creator>
      <dc:date>2019-03-27T17:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log file on the Connection Broker showing who's logged onto the VDI's system externaly?</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259908#M88448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find that information in the Events database. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 18:53:39 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259908#M88448</guid>
      <dc:creator>techguy129</dc:creator>
      <dc:date>2019-03-27T18:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log file on the Connection Broker showing who's logged onto the VDI's system externaly?</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259909#M88449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will depend a bit on your architecture. Are you using Unified Access Gateways (UAG), Security Servers or something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The connection servers should have this information. You will need to configure the connection servers to send the logs to a syslog server or write to a file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 05:28:07 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259909#M88449</guid>
      <dc:creator>BenFB</dc:creator>
      <dc:date>2019-03-28T05:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log file on the Connection Broker showing who's logged onto the VDI's system externaly?</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259910#M88450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we are connecting directly to the connection broker so I thought there was a file in the connection broker that tell's me who's been connecting to the system. Is there such a file or not? and if so where is it. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 17:29:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259910#M88450</guid>
      <dc:creator>txfree2</dc:creator>
      <dc:date>2019-03-28T17:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log file on the Connection Broker showing who's logged onto the VDI's system externaly?</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259911#M88451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not enabled by default. You need to even event logging for syslog servers. This can be sent to a syslog server or written to a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.vmware.com/en/VMware-Horizon-7/7.8/horizon-installation/GUID-429DBA6E-301C-4578-86FB-093755F64173.html" title="https://docs.vmware.com/en/VMware-Horizon-7/7.8/horizon-installation/GUID-429DBA6E-301C-4578-86FB-093755F64173.html"&gt;Configure Event Logging for Syslog Servers&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 21:14:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259911#M88451</guid>
      <dc:creator>BenFB</dc:creator>
      <dc:date>2019-03-28T21:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log file on the Connection Broker showing who's logged onto the VDI's system externaly?</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259912#M88452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are files on the servers you can review however they are meant for diagnostic purposes and not reporting. The verbosity is also configurable to log greater detail but will have a performance/storage impact if adjusted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Security servers: If you are on Server 2008+ the location is DriveLetter:ProgramData\VMware\VDM\logs . (&lt;A href="https://kb.vmware.com/s/article/1027744" title="https://kb.vmware.com/s/article/1027744"&gt;&lt;/A&gt;&lt;A href="https://kb.vmware.com/s/article/1027744)" target="test_blank"&gt;https://kb.vmware.com/s/article/1027744)&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For UAG: &lt;A href="https://docs.vmware.com/en/Unified-Access-Gateway/3.3.1/com.vmware.uag-331-deploy-config.doc/GUID-C16913E1-7984-4072-B1E8-7EBAE385A831.html" title="https://docs.vmware.com/en/Unified-Access-Gateway/3.3.1/com.vmware.uag-331-deploy-config.doc/GUID-C16913E1-7984-4072-B1E8-7EBAE385A831.html"&gt;Collecting Logs from the Unified Access Gateway Appliance&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As techguy129 pointed out this data is also recorded in the Events Database if you have it configured under Horizon Admin Event Configuration. (&lt;A href="https://docs.vmware.com/en/VMware-Horizon-7/7.8/horizon-installation/GUID-1E63A836-7B3D-4876-AD9A-4553955E3834.html" title="https://docs.vmware.com/en/VMware-Horizon-7/7.8/horizon-installation/GUID-1E63A836-7B3D-4876-AD9A-4553955E3834.html"&gt;Configuring Event Reporting&lt;/A&gt; ). Additional information on connection related events that are logged: (&lt;A href="https://docs.vmware.com/en/VMware-Horizon-7/7.8/horizon-integration/GUID-2E8E6344-7EB8-44D2-B58A-4B7545000716.html" title="https://docs.vmware.com/en/VMware-Horizon-7/7.8/horizon-integration/GUID-2E8E6344-7EB8-44D2-B58A-4B7545000716.html"&gt;Horizon Connection Server Events&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's an active session you will see them under Horizon Admin 'Monitoring -&amp;gt; Sessions' and there is a column for 'security gateway' that shows which broker they connected through.&lt;/P&gt;&lt;P&gt;If it's a historical session you can go to Horizon Admin 'Monitoring -&amp;gt; Events' (if configured) and search the most recent 2000 events. Anything beyond 2000 events you will need to query the database directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can reference these community threads regarding querying the database directly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/thread/595631"&gt;VMWare Horizon View Events (User Login History) how to source from (sql) database&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/thread/572038"&gt;View DB SQL how to extract Client's IP address&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BenFB also pointed out the ability to send events to a syslog server as well which may be easier if you have an existing solution that parses out the data instead of querying SQL directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:32:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259912#M88452</guid>
      <dc:creator>SteveWH</dc:creator>
      <dc:date>2019-04-02T16:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log file on the Connection Broker showing who's logged onto the VDI's system externaly?</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259913#M88453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Others in this thread are correct it would depend on your architecture but SQL Queries in SQL Server Management Studio (SSMS) are helpful and may give you what you need. You can run something like below query against the EventDB. The below example will give you all the connections from the previous month with the Connection Server they connected to and the &lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;"ForwardedClientIPaddress" would be the IP they are connecting from. You could run something like this and just get want by filtering the results by your external facing servers or the clients IPs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;SELECT * FROM&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;(SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event.EventID,event.Time, event.Node AS [Connection Server], event_data.Name, event_data.StrValue&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event INNER JOIN&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event_data ON event.EventID = event_data.EventID&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (event.EventType = 'BROKER_USERLOGGEDIN')&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;AND&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;event.Time &amp;gt;= DATEADD(mm,DATEDIFF(mm,0,GETDATE())-1,0)&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;AND event.Time &amp;lt; DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;)&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt; t&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PIVOT&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX(strvalue)&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR NAME in ("BrokerSessionId","ClientIPaddress", "ForwardedClientIPaddress", "UserDisplayname")&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) p&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;ORDER BY TIME ASC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 04:46:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Is-there-a-log-file-on-the-Connection-Broker-showing-who-s/m-p/2259913#M88453</guid>
      <dc:creator>BC559</dc:creator>
      <dc:date>2019-04-19T04:46:47Z</dc:date>
    </item>
  </channel>
</rss>

