
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:
<?xml version=’1.0’ encoding=’UTF-8’?>
<feed xmlns=’http://www.w3.org/2005/Atom’
xmlns:openSearch=’http://a9.com/-/spec/opensearchrss/1.0/’
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
<id>http://gsa:8000/feeds/searchLog</id>
<updated>2009-03-26T06:44:31.094Z</updated>
<link rel=’http://schemas.google.com/g/2005#feed’
type=’application/atom+xml’ href=’http://gsa:8000/feeds/searchLog’/>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/searchLog’/>
<generator version=’0.5’ uri=’http://gsa:8000/gsa’>
Google Search Appliance
</generator>
<openSearch:startIndex>1</openSearch:startIndex>
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
Comentarios a estos manuales