<?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: Exporting log files from terminal server agent in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/74024#M41587</link>
    <description>&lt;P&gt;Hi Tor,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;again I am no Windows expert - but that sounds like it is the easiest to solve with some PowerShell script. Hopefully someone with more experience with Windows farms can answer this better with more original idea, sorry &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Luciano&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 21:20:56 GMT</pubDate>
    <dc:creator>Lucky</dc:creator>
    <dc:date>2016-03-02T21:20:56Z</dc:date>
    <item>
      <title>Exporting log files from terminal server agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/73896#M41563</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've got an installation where we have approx 500 citrix servers running the terminal server agent. The TS-agent has a log file located in the installation folder (debug.log), which I need to look at from time to time. To retrieve the log file I actually have to log on to each server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what I've been able to find out, it is not possible to get the agent to log to an external syslog server, or retrive the logs through the api.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have a smart solution for gathering the log files for all agents in one location, so it's easier to retrieve them?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Tor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 13:03:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/73896#M41563</guid>
      <dc:creator>torm</dc:creator>
      <dc:date>2016-03-01T13:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting log files from terminal server agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/73916#M41569</link>
      <description>&lt;P&gt;Hi Torm,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am no Windows expert and can't help you with your idea of resolving the issue, but I was wondering - would you be able to pull such information from UserID logs on the device itself? By it's nature, it should aggregate most of the information from logs, maybe it is contained there?&lt;/P&gt;
&lt;P&gt;You can review those logs from CLI by doing "less mp-log useridd.log" and you can also raise debugs on it by doing "debug user-id on debug" (remember to return it to defaults, "debug user-id on info" once you are done, and verify debug level by issuing "debug user-id get" to see what is set).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry if I didn't help much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Luciano&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 18:03:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/73916#M41569</guid>
      <dc:creator>Lucky</dc:creator>
      <dc:date>2016-03-01T18:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting log files from terminal server agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/73969#M41578</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortuneatelly, there is so much going on in the userid.log file, that the rotation time for the file is only approx 1 hour. So that doesn't give me enough history. It's a pretty large user-id deployment with approx 70k users.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I'm interessing in is the actually port-mappings being done in the agent. That means which port blocks are allocated to which user. I do not believe the CLI or logs on firewall can give me history on this. It just give me the "running" info when I use the commands "show user ip-port-user-mapping ip/all".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Agent log file contains execatly what I need, but it's really annoying having to log on to the servers. To bad there is no support for sending theese logs with syslog.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Tor&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 08:56:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/73969#M41578</guid>
      <dc:creator>torm</dc:creator>
      <dc:date>2016-03-02T08:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting log files from terminal server agent</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/74024#M41587</link>
      <description>&lt;P&gt;Hi Tor,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;again I am no Windows expert - but that sounds like it is the easiest to solve with some PowerShell script. Hopefully someone with more experience with Windows farms can answer this better with more original idea, sorry &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Luciano&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 21:20:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-log-files-from-terminal-server-agent/m-p/74024#M41587</guid>
      <dc:creator>Lucky</dc:creator>
      <dc:date>2016-03-02T21:20:56Z</dc:date>
    </item>
  </channel>
</rss>

