Search logs, Deleting a search report – Google Search Appliance Administrative API Developers Guide: .NET User Manual
Page 44

Google Search Appliance: Administrative API Developer’s Guide: .NET
44
Deleting a Search Report
Delete a search report by sending an authenticated DELETE request to a search report entry of the
searchReport feed.
The search report entry will be deleted:
myService.DeleteEntry("searchReport", "bbb@default_collection");
Search Logs
Generate, update, and delete a search log using the searchLog feed. A search log lists all search queries
for a specified time frame in a format similar to a common log format (CLF).
Search log entry properties:
Property
Description
collectionName
(Write-only) The collection name—use only to create a search log.
Entry Name
Search_Log_Name@Collection_Name
fromLine
(Read only) The first line of a search log that is returned in the log
content—only returned when getting search log content and the
content is ready.
isFinal
(Read only) If the search log contains the final result. If so, it means the
last update date is later than the reportDate.
logContent
(Read only) A part of the content of the search log—only returned
when getting search log content and the content is ready.
reportCreationDate
(Read only) The creation date of a search log.
reportDate
The dates of the queries in the search log.
reportName
(Write-only) The report name—use only to create a search log.
reportState
(Read only) Search log status:
•
0: Initialized.
•
1: Report is generating.
•
2: Report completed.
•
3: Non-final complete report is generating.
•
4: Last report generation failed.
toLine
(Read only) The last line of a search log that is returned in the log
content—only returned when getting search log content and the
content is ready.
totalLines
(Read only) The number of lines of a search log that are returned in the
log content—only returned when getting search log content and the
content is ready.