XML API data content not working in 4.1.17 from 4.0.8 ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

XML API data content not working in 4.1.17 from 4.0.8 ?

L0 Member

Is anyone else having problems with an XML API script gathering data from a report in Panorama 4.1.17 ?

It was working fine in 4.0.8,  but I am now told it is not supported in 4.1.xx release.

Is there a work around ?

3 REPLIES 3

L6 Presenter

Just ran this on panorama but am running 4.1.9 though.

https://172.17.128.54/api/?type=report&reporttype=custom&reportname=test&key=Q8acmLknUVOFt5dXq2LjTfZ...

snippet of the xml output.

<response status="success">

<report reportname="test" logtype="panorama-url">

<result name="test" logtype="panorama-url" start="2012/12/01 00:00:00" start-epoch="1354341600" end="2012/12/31 23:59:59" end-epoch="1357019999" generated-at="2013/01/16 15:24:50" generated-at-epoch="1358371490" range="Saturday, December 01, 2012">

<entry>

<category>computer-and-internet-info</category>

<misc>update.microsoft.com/</misc>

<repeatcnt>252</repeatcnt>

</entry>

<entry>

<category>business-and-economy</category>

<misc>dmd.metaservices.microsoft.com/dms/metadata.svc</misc>

<repeatcnt>110</repeatcnt>

</entry>

<entry>

<category>search-engines</category>

<misc>go.microsoft.com/fwlink/?LinkID=252669&clcid=0x409</misc>

<repeatcnt>110</repeatcnt>

</entry>

<entry>

<category>news-and-media</category>

<misc>

safebrowsing.clients.google.com/safebrowsing/downloads?client=navclient-auto-ffox&appver=17.0.1&pver=2.2&wrkey=AKEgNit1_jVxNkGCDIKHk-TECilRutzFjsyODLUymMJTKdySxfOxECxz-IjBfNvwHk3T4ZxOxOGjs5FnkM3vX6LQTNSyaMCS4Q==

</misc>

<repeatcnt>56</repeatcnt>

</entry>

<entry>

<category>social-networking</category>

<misc>www.facebook.com/</misc>

<repeatcnt>21</repeatcnt>

</entry>

<entry>

<category>news-and-media</category>

<misc>

www.cnn.com/video/data/3.0/video/cvptve/cvpstream1/index.xml?caller=http:/z.cdn.turner.com/cnn/.element/widget/nowplaying/1.0.2&pollInterval=300000&referrer=http:/www.cnn.com/

</misc>

<repeatcnt>21</repeatcnt>

</entry>

I work with CJ...

Here's the API call I'm submitting...

https://10.2.19.144/api/?type=report&reporttype=dynamic&reportname=top-app-summary&topn=100&period=l...


Here's what I get:

- <response status="success">
- <result>
- <msg>
<line>Report job enqueued with jobid 3276</line>
</msg>
<job>3276</job>
</result>
</response>
I
iii'm curious why the jobs are enqueueing since the Panorama upgrade, and not just dumping the data as they were before.  Has anyone else witnessed this behavior?

I have found the issue.

This behavior only seems to happen if you call the "top-app-summary" report.  If I call the top-applications-summary dynamic report, it is working just fine.

Case closed...

  • 2182 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!