<?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 API: how to iterate to get logs page by page? in Panorama Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/panorama-discussions/api-how-to-iterate-to-get-logs-page-by-page/m-p/579383#M2208</link>
    <description>&lt;P&gt;I am trying to retrieve large amounts of logs from panorama via the api.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The log api uses an asynchronous API.&amp;nbsp; I have the initial request which includes the search criteria&amp;nbsp; and returns the `jobid` working and can get the first batch of logs back (max 5000) but I can't figure out how to make subsequent calls to get the rest.&lt;/P&gt;
&lt;P&gt;The `get` request returns a job section at the start of the results:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    {"job"=&amp;gt;
      {"tenq"=&amp;gt;"13:03:30",
       "tdeq"=&amp;gt;"13:03:30",
       "tlast"=&amp;gt;"12:00:00",
       "status"=&amp;gt;"FIN",
       "id"=&amp;gt;"9315",
       "cached_logs"=&amp;gt;"220"},&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What are the times here?&amp;nbsp; can I use these to make subsequent request?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better yet is there a document that show how to chain request to retrieve large amounts of logs?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 03:55:30 GMT</pubDate>
    <dc:creator>R.Fulton</dc:creator>
    <dc:date>2024-03-06T03:55:30Z</dc:date>
    <item>
      <title>API: how to iterate to get logs page by page?</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/api-how-to-iterate-to-get-logs-page-by-page/m-p/579383#M2208</link>
      <description>&lt;P&gt;I am trying to retrieve large amounts of logs from panorama via the api.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The log api uses an asynchronous API.&amp;nbsp; I have the initial request which includes the search criteria&amp;nbsp; and returns the `jobid` working and can get the first batch of logs back (max 5000) but I can't figure out how to make subsequent calls to get the rest.&lt;/P&gt;
&lt;P&gt;The `get` request returns a job section at the start of the results:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    {"job"=&amp;gt;
      {"tenq"=&amp;gt;"13:03:30",
       "tdeq"=&amp;gt;"13:03:30",
       "tlast"=&amp;gt;"12:00:00",
       "status"=&amp;gt;"FIN",
       "id"=&amp;gt;"9315",
       "cached_logs"=&amp;gt;"220"},&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What are the times here?&amp;nbsp; can I use these to make subsequent request?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better yet is there a document that show how to chain request to retrieve large amounts of logs?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 03:55:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/api-how-to-iterate-to-get-logs-page-by-page/m-p/579383#M2208</guid>
      <dc:creator>R.Fulton</dc:creator>
      <dc:date>2024-03-06T03:55:30Z</dc:date>
    </item>
  </channel>
</rss>

