- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
11-29-2017 12:41 PM - edited 11-29-2017 12:43 PM
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.