Search logs, Deleting a search report – Google Search Appliance Administrative API Developers Guide: Protocol User Manual
Page 60

Google Search Appliance: Administrative API Developer’s Guide: Protocol
60
A search log entry is returned:
<?xml version=’1.0’ encoding=’UTF-8’?>
<entry xmlns=’http://www.w3.org/2005/Atom’
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
<id>http://gsa:8000/feeds/searchReport/bbb%40default_collection</id>
<updated>2009-03-26T07:24:16.099Z</updated>
<app:edited xmlns:app=’http://purl.org/atom/app#’>
2009-03-26T07:24:16.099Z
</app:edited>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/searchReport/bbb%40default_collection’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/searchReport/bbb%40default_collection’/>
<gsa:content name=’entryID’>bbb@default_collection</gsa:content>
<gsa:content name=’diagnosticTerms’></gsa:content>
<gsa:content name=’reportState’>3</gsa:content>
<gsa:content name=’reportCreationDate’>
March 26, 2009 12:22:25 AM PDT
</gsa:content>
<gsa:content name=’reportDate’>month_3_2009</gsa:content>
<gsa:content name=’withResults’>true</gsa:content>
<gsa:content name=’topCount’>100</gsa:content>
<gsa:content name=’isFinal’>false</gsa:content>
</entry>
Deleting a Search Report
To update the search report status and get search log content, send an authenticated DELETE request to
a search report entry of the searchReport feed.
http://Search_Appliance:8000/feeds/searchReport/bbb@default_collection
A search report entry will be deleted.
Search Logs
Generate, update, and delete search logs using the searchLog feed.
Search log entry properties:
Property
Description
<Entry Name>
<Search_Log_Name>@<Collection_Name>
collectionName
(Write only) The collection name, which is only needed when creating a
search log.
fromLine
(Read only) The starting line of a search log that returns in logContent.
This property is only returned when getting search log content and the
content is ready.
isFinal
(Read only) Indicates if the search log contains the final result. If so, it
means the last update date is later than reportDate.
logContent
(Read only) A part of the search log content that is returned when getting
search log content and the content is ready.