<?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: ServerLogs integration does not work. in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/433676#M350</link>
    <description>&lt;P&gt;First make sure the integration works with a test command in the playground, in my testing the test button wasn't always accurate for the RemoteAccess integration (try without a username/password and it'll say success but fail with commands).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was my test command in the playground:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;!ssh cmd=hostname using=localhost&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next thing to check is to make sure you named your instance `localhost`. The automation is hardcoded with that value for the instance name. The test example above also uses `localhost` so if that fails, the instance name could be the cause. See:&amp;nbsp;&lt;A href="https://github.com/demisto/content/blob/d4a6fdd9e50a35e5218bcce7e40d87c95c7ff6c0/Packs/ServerLogs/Scripts/ServerLogs/ServerLogs.py#L9" target="_blank" rel="noopener"&gt;https://github.com/demisto/content/blob/d4a6fdd9e50a35e5218bcce7e40d87c95c7ff6c0/Packs/ServerLogs/Scripts/ServerLogs/ServerLogs.py#L9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that's all correct, then check the user you're using for the RemoteAccess instance has read access to the log files in the automations. These are their paths (also hardcoded):&lt;/P&gt;&lt;P&gt;/var/log/demisto/server.log&lt;/P&gt;&lt;P&gt;/var/log/demisto/docker.log&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Check with an `ls -a $PATH` while on the host.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 03:18:42 GMT</pubDate>
    <dc:creator>balmer</dc:creator>
    <dc:date>2021-09-14T03:18:42Z</dc:date>
    <item>
      <title>ServerLogs integration does not work.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/433586#M348</link>
      <description>&lt;P&gt;I have the integration enabled and configured using the requirements stated in the Marketplace, but when I try to load the dashboard it says I don't have the SSH integration enabled. But I do, and&amp;nbsp;I have a local user and have tested it manually, so I don't think this is credential related. It just looks like the integration is not able to access SSH on localhost. The SSH integration test function passes too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this with this integration/dashboard?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 18:24:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/433586#M348</guid>
      <dc:creator>HackDefendr</dc:creator>
      <dc:date>2021-09-13T18:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: ServerLogs integration does not work.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/433589#M349</link>
      <description>&lt;LI-CODE lang="python"&gt;Script failed to run: 
Error: [Traceback (most recent call last):
   
   File "&amp;lt;string&amp;gt;", line 4, in &amp;lt;module&amp;gt;
   File "&amp;lt;string&amp;gt;", line 82, in executeCommand
   File "&amp;lt;string&amp;gt;", line 137, in __do
 ValueError: Unsupported Command : ssh , verify you have proper integration enabled to support it (23)

] (2604) (2603)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Sep 2021 18:30:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/433589#M349</guid>
      <dc:creator>HackDefendr</dc:creator>
      <dc:date>2021-09-13T18:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: ServerLogs integration does not work.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/433676#M350</link>
      <description>&lt;P&gt;First make sure the integration works with a test command in the playground, in my testing the test button wasn't always accurate for the RemoteAccess integration (try without a username/password and it'll say success but fail with commands).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was my test command in the playground:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;!ssh cmd=hostname using=localhost&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next thing to check is to make sure you named your instance `localhost`. The automation is hardcoded with that value for the instance name. The test example above also uses `localhost` so if that fails, the instance name could be the cause. See:&amp;nbsp;&lt;A href="https://github.com/demisto/content/blob/d4a6fdd9e50a35e5218bcce7e40d87c95c7ff6c0/Packs/ServerLogs/Scripts/ServerLogs/ServerLogs.py#L9" target="_blank" rel="noopener"&gt;https://github.com/demisto/content/blob/d4a6fdd9e50a35e5218bcce7e40d87c95c7ff6c0/Packs/ServerLogs/Scripts/ServerLogs/ServerLogs.py#L9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that's all correct, then check the user you're using for the RemoteAccess instance has read access to the log files in the automations. These are their paths (also hardcoded):&lt;/P&gt;&lt;P&gt;/var/log/demisto/server.log&lt;/P&gt;&lt;P&gt;/var/log/demisto/docker.log&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Check with an `ls -a $PATH` while on the host.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 03:18:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/433676#M350</guid>
      <dc:creator>balmer</dc:creator>
      <dc:date>2021-09-14T03:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: ServerLogs integration does not work.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/438565#M371</link>
      <description>&lt;P&gt;Boom!&amp;nbsp; That was the ticket.&amp;nbsp; Setting the hostname and instance name to localhost resolved this for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank-you!!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 19:33:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/serverlogs-integration-does-not-work/m-p/438565#M371</guid>
      <dc:creator>HackDefendr</dc:creator>
      <dc:date>2021-10-04T19:33:28Z</dc:date>
    </item>
  </channel>
</rss>

