Panorama XML API not exporting resolved Hostnames

Reply
L0 Member

Panorama XML API not exporting resolved Hostnames

Hello,

 

I am having difficulty exporting complete data using the XML API. I am scheduling and exporting saved reports using the REST API.  The results XML docuemnt is fully formed but the resolved-src field contains the IP address instead of the hostname. When viewing the results in the GUI and exporting to csv the hostname is present.

 

The following is the top of the returned XML:

<response status="success"><result>
<job>
<tenq>13:25:00</tenq>
<tdeq>13:25:00</tdeq>
<tlast>13:25:03</tlast>
<status>FIN</status>
<percent>100</percent>
<recordcnt>8</recordcnt>
<ndev>7</ndev>
<nskip>1</nskip>
<nreq>6</nreq>
<nresp>6</nresp>
<nproc>6</nproc>
<eruntime>0</eruntime>
<id>5255</id>
</job>
<report name="report name here" logtype="urlsum" start="2017/10/01 00:00:00" start-epoch="1506830400" end="2017/10/31 23:59:59" end-epoch="1509508799" generated-at="2017/11/29 13:25:21" generated-at-epoch="1511979921" axis="src" range="Sunday, October 01, 2017">
<entry>
<src>10.1.2.3</src>
<resolved-src>10.1.2.3</resolved-src>
<srcuser/>
<category>computer-and-internet-info</category>
<url_domain>incoming.telemetry.mozilla.org</url_domain>
<repeatcnt>82221</repeatcnt>
</entry>

 

Please note the FIN Status and the 100 percent, indicating that the report was finished running. Is there a setting in the XML API configuration that could be missing that is causing this problem?

 

Thanks in advance for reading.

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 Live Community as a whole!

The Live Community thanks you for your participation!