beautypg.com

Listing a search log – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 61

background image

Google Search Appliance: Administrative API Developer’s Guide: Protocol

61

Listing a Search Log

List the entries in a search log using the following query parameters:

To list search log entries, send an authenticated GET request to root entry of the searchLog feed.

http://Search_Appliance:8000/feeds/searchLog/

A list of search log entries is returned:


xmlns:openSearch=’http://a9.com/-/spec/opensearchrss/1.0/’
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/searchLog
2009-03-26T06:44:31.094Z

type=’application/atom+xml’ href=’http://gsa:8000/feeds/searchLog’/>

href=’http://gsa:8000/feeds/searchLog’/>

Google Search Appliance


1

reportCreationDate

(Read only) The creation date of a search log.

reportDate

The dates for the queries that are collected in the search log.

reportName

(Write only) The report name, which is only needed when creating a search
log.

reportState

(Read only) The status of the search log: 0: Initialized; 1: Report is in
progress; 2: Report competed; 3: Non-final complete report is in progress;
4: Last report generation failed.

toLine

(Read only) The ending line of the search log that is returned in
logContent. This property is only returned when getting search log content
and the content is ready.

totalLines

(Read only) The number of lines in the search log that are returned in
logContent. This property is only returned when getting search log content
and the content is ready.

Parameter

Description

collectionName

Collection Name of a search log. The default value is all.collections.

Property

Description