<?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: Custom report via Panorama using XML-API in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13850#M10158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to create a key for an existing account on the PAN see below for an example assuming you use the account named "admin"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://x.x.x.x/api/?type=keygen&amp;amp;user=admin&amp;amp;password=******" title="https://x.x.x.x/api/?type=keygen&amp;amp;user=admin&amp;amp;password=******"&gt;https://x.x.x.x/api/?type=keygen&amp;amp;user=admin&amp;amp;password=******&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2013 22:23:30 GMT</pubDate>
    <dc:creator>jteetsel</dc:creator>
    <dc:date>2013-08-05T22:23:30Z</dc:date>
    <item>
      <title>Custom report via Panorama using XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13847#M10155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a custom report via Panorama and then retrieving the report data using the XML APIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following XML-API URL to create a custom report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;Panoram IP&amp;gt;/api/?type=config&amp;amp;action=set&amp;amp;key=&amp;lt;KEY&amp;gt;&amp;amp;xpath=/config/shared/reports/entry[@name='report-1']&amp;amp;element=&amp;lt;type&amp;gt;&amp;lt;panorama-trsum&amp;gt;&amp;lt;aggregate-by&amp;gt;&amp;lt;member&amp;gt;from&amp;lt;/member&amp;gt;&amp;lt;member&amp;gt;to&amp;lt;/member&amp;gt;&amp;lt;/aggregate-by&amp;gt;&amp;lt;values&amp;gt;&amp;lt;member&amp;gt;sessions&amp;lt;/member&amp;gt;&amp;lt;member&amp;gt;bytes&amp;lt;/member&amp;gt;&amp;lt;/values&amp;gt;&amp;lt;/panorama-trsum&amp;gt;&amp;lt;/type&amp;gt;&amp;lt;period&amp;gt;last-15-minutes&amp;lt;/period&amp;gt;&amp;lt;topn&amp;gt;10&amp;lt;/topn&amp;gt;&amp;lt;topm&amp;gt;10&amp;lt;/topm&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to configure the custom report on Panorama.&lt;/P&gt;&lt;P&gt;However, I am not able to retrieve the report data using the XML-API.&lt;/P&gt;&lt;P&gt;I am using the following XML-API URL:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;Panoram IP&amp;gt;/api/?key=&amp;lt;KEY&amp;gt;&amp;amp;type=report&amp;amp;reporttype=custom&amp;amp;reportname=report-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of getting the report data, I am getting the following response:&lt;/P&gt;&lt;P&gt;&amp;lt;response status="success"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;result&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;msg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;line&amp;gt;Report job enqueued with jobid 10&amp;lt;/line&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;job&amp;gt;10&amp;lt;/job&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/result&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please let me know how to retrieve the report data using the XML-API from the Panorama.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charanjeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 08:40:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13847#M10155</guid>
      <dc:creator>Charanjeet</dc:creator>
      <dc:date>2013-08-05T08:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom report via Panorama using XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13848#M10156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at this document &lt;A _jive_internal="true" href="https://live.paloaltonetworks.com/docs/DOC-4126"&gt;https://live.paloaltonetworks.com/docs/DOC-4126&lt;/A&gt; page 11:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"..retrieve a dynamic report data using reporttype=dynamic, reportname=custom-dynamic-report, and cmd=report-definition where report definition is the XML definition retrieved from the xml api get"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 22:04:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13848#M10156</guid>
      <dc:creator>zarina</dc:creator>
      <dc:date>2013-08-05T22:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom report via Panorama using XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13849#M10157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you kick off the report using the API, make note of the Job id...you then need to read the report data using the job ID..see below for an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;panIP&amp;gt;/api/?type=log&amp;amp;action=get&amp;amp;job-id=&amp;lt;job id&amp;gt;&amp;amp;key=&amp;lt;your account key&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 22:11:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13849#M10157</guid>
      <dc:creator>jteetsel</dc:creator>
      <dc:date>2013-08-05T22:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom report via Panorama using XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13850#M10158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to create a key for an existing account on the PAN see below for an example assuming you use the account named "admin"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://x.x.x.x/api/?type=keygen&amp;amp;user=admin&amp;amp;password=******" title="https://x.x.x.x/api/?type=keygen&amp;amp;user=admin&amp;amp;password=******"&gt;https://x.x.x.x/api/?type=keygen&amp;amp;user=admin&amp;amp;password=******&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 22:23:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13850#M10158</guid>
      <dc:creator>jteetsel</dc:creator>
      <dc:date>2013-08-05T22:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom report via Panorama using XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13851#M10159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;Hi zarina,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;I followed the XML API document but got the same response:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;response status="success"&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;result&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt; &amp;lt;msg&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt; &amp;lt;line&amp;gt;Report job enqueued with jobid 15&amp;lt;/line&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt; &amp;lt;/msg&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;job&amp;gt;15&amp;lt;/job&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;/result&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 06:57:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13851#M10159</guid>
      <dc:creator>Charanjeet</dc:creator>
      <dc:date>2013-08-06T06:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom report via Panorama using XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13852#M10160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is correct, once you get the the job id you need to read the results of this job using the below string: (replace the xx with your variables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://live.paloaltonetworks.com/"&gt;https://&lt;/A&gt;.x.x.x.x/api/?type=log&amp;amp;action=get&amp;amp;job-id=xx&amp;amp;key=xxxxxxx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 17:23:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/custom-report-via-panorama-using-xml-api/m-p/13852#M10160</guid>
      <dc:creator>jteetsel</dc:creator>
      <dc:date>2013-08-06T17:23:48Z</dc:date>
    </item>
  </channel>
</rss>

