<?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: Error in Show logs API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162064#M7287</link>
    <description>&lt;P&gt;You need "new-query.time-frame" as well.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 17:53:06 GMT</pubDate>
    <dc:creator>Duane_Toler</dc:creator>
    <dc:date>2022-11-14T17:53:06Z</dc:date>
    <item>
      <title>Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/161989#M7274</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to get the Checkpoint logs using API from postman and I could see the below error.&lt;/P&gt;&lt;P&gt;I can see all the logs in the smart console. Please let me know if I need to change any settings.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-11-14 at 5.59.06 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/18402i24C8126734D9EEA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-11-14 at 5.59.06 PM.png" alt="Screenshot 2022-11-14 at 5.59.06 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 12:36:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/161989#M7274</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-14T12:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/161990#M7275</link>
      <description>&lt;P&gt;Not sure if any of below would apply in your case, but maybe worth checking...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk121379" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk121379&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk150732" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk150732&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk121235" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk121235&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 13:02:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/161990#M7275</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-11-14T13:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/161994#M7276</link>
      <description>&lt;P&gt;Hi Thanks, but I see it works in the smart console, but in the API I get this error. So is there any specific settings to configure management server as log server .&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 13:30:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/161994#M7276</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-14T13:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162000#M7277</link>
      <description>&lt;P&gt;Gotcha...just wondering, do you see anything from below command?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/?#cli/show-logs~v1.8.1%20" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/APIs/?#cli/show-logs~v1.8.1%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Unless I dont see it, cant really locate section to configure log server, maybe someone else can chime in.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 13:59:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162000#M7277</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-11-14T13:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162005#M7278</link>
      <description>&lt;P&gt;I see server_error with the command&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-11-14 at 7.34.21 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/18404iDAD2C78016A7FB60/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-11-14 at 7.34.21 PM.png" alt="Screenshot 2022-11-14 at 7.34.21 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 14:07:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162005#M7278</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-14T14:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162011#M7279</link>
      <description>&lt;P&gt;Can you try api restart?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 14:17:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162011#M7279</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-11-14T14:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162012#M7280</link>
      <description>&lt;P&gt;What is your precise API call?&lt;BR /&gt;Also, version/JHF level?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 14:18:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162012#M7280</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-11-14T14:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162020#M7281</link>
      <description>&lt;P&gt;yes, but still the same error&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 14:39:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162020#M7281</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-14T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162022#M7282</link>
      <description>&lt;P&gt;Please find my API call:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and the version is R81 take 392&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-11-14 at 8.10.49 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/18406i9BEF1DC50BFBC916/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-11-14 at 8.10.49 PM.png" alt="Screenshot 2022-11-14 at 8.10.49 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 14:41:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162022#M7282</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-14T14:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162038#M7283</link>
      <description>&lt;P&gt;What are the hardware specs on your management/log server?&lt;BR /&gt;Specify RAM, CPUs, and disk allocated.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:40:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162038#M7283</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-11-14T15:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162047#M7284</link>
      <description>&lt;P&gt;Not that good with API, but wanted to try this in the lab, except cant open &lt;A href="https://mgmtIP:port/web-api" target="_blank"&gt;https://mgmtIP:port/web-api&lt;/A&gt;&amp;nbsp;link. Let me see whats missing.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:55:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162047#M7284</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-11-14T15:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162057#M7285</link>
      <description>&lt;P&gt;Please let me know if this works for you&lt;/P&gt;&lt;P class=""&gt;curl --insecure -XPOST "&lt;A href="https://mgmtip:port/web-api" target="_blank" rel="nofollow noopener noreferrer"&gt;https://mgmtIP:port/web-api&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://192.168.20.4/web_api/login%22" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;/login"&lt;/SPAN&gt;&lt;/A&gt; --data-binary "{\"user\": \"xxx\", \"password\": \”xxxx\"}" -H "Content-Type: application/json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 17:36:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162057#M7285</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-14T17:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162062#M7286</link>
      <description>&lt;P&gt;I replaced the values but says curl command not found.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 17:47:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162062#M7286</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-11-14T17:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162064#M7287</link>
      <description>&lt;P&gt;You need "new-query.time-frame" as well.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 17:53:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162064#M7287</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2022-11-14T17:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162068#M7288</link>
      <description>&lt;P&gt;I get the same error as in the post, when I tried with&amp;nbsp;&lt;SPAN&gt;new-query.time-frame&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I assume that I need to configure management server as log server, but I am confused that I can see logs in the Smart Console,&amp;nbsp; not sure if I am right, Please let me know what are the steps to check and change log server configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-11-14 at 11.28.38 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/18410i9FAE7756F5B48543/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-11-14 at 11.28.38 PM.png" alt="Screenshot 2022-11-14 at 11.28.38 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 18:02:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162068#M7288</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-14T18:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162070#M7289</link>
      <description>&lt;P&gt;The management server is the log server unless you've configured an external log and/or SmartEvent server.&lt;BR /&gt;&lt;SPAN&gt;What are the hardware specs on your management/log server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Specify the amount of RAM, CPUs, and disk allocated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 18:09:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162070#M7289</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-11-14T18:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162091#M7290</link>
      <description>&lt;P&gt;Please find the configuration&lt;/P&gt;&lt;P&gt;RAM - 11GB&lt;/P&gt;&lt;P&gt;CPU- 2 cores&lt;/P&gt;&lt;P&gt;Storage- 200GB&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 05:53:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162091#M7290</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-15T05:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162137#M7291</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;said, your management should be your log server. &amp;nbsp;What do you get with the API call "show-checkpoint-host name &amp;lt;server name&amp;gt; details-level full"? &amp;nbsp;You should see:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;  "management-blades" : {
...
   "logging-and-status" : true,
...
 }
...
  "logs-settings" : {
    "enable-log-indexing" : true,
...
  }
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, then you need to enable the Logging blade on your management object as well as log indexing. &amp;nbsp;The show-logs API requires the indexer to be running. &amp;nbsp;Use SmartConsole to enable both options:&lt;/P&gt;
&lt;P&gt;* Edit your management object, select the the "Logging and Status" checkbox in the Products list&lt;/P&gt;
&lt;P&gt;* On the left tree, select Logs, and enable Log Indexing&lt;/P&gt;
&lt;P&gt;* Click OK, publish changes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll have to wait for the indexer to load the logs into the database which can take time, depending on your log size and any historical logs. &amp;nbsp;If you need to load historical logs, then you'll need to use sk111766.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 14:44:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162137#M7291</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2022-11-15T14:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162143#M7292</link>
      <description>&lt;P&gt;It only shows log server working in index mode. IDK if relevant in your case but if the server is not indexing the logs it might explain the error for no log servers available.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 15:35:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162143#M7292</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2022-11-15T15:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Show logs API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162194#M7295</link>
      <description>&lt;P&gt;Thanks, after enabling the log indexing, it is working&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 04:36:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Error-in-Show-logs-API/m-p/162194#M7295</guid>
      <dc:creator>srinidhi</dc:creator>
      <dc:date>2022-11-16T04:36:06Z</dc:date>
    </item>
  </channel>
</rss>

