
Google Search Appliance: Administrative API Developer’s Guide: Protocol 63
A new search log entry generates and returns:
<?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/searchLog</id>
<updated>2009-03-26T06:42:28.742Z</updated>
<app:edited xmlns:app=’http://purl.org/atom/app#’>
2009-03-26T06:42:28.742Z
</app:edited>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/searchLog’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/searchLog’/>
<gsa:content name=’entryID’>bbb@default_collection</gsa:content>
<gsa:content name=’reportState’>1</gsa:content>
<gsa:content name=’reportCreationDate’>
March 25, 2009 11:42:28 PM PDT
</gsa:content>
<gsa:content name=’reportDate’>date_3_25_2009</gsa:content>
<gsa:content name=’isFinal’>false</gsa:content>
</entry>
Retrieving Search Log Content
To check the search log status and get search log content, send an authenticated
GET
request to a
search
log entry of the
searchLog
feed using the following parameters.
Example:
http://Search_Appliance:8000/feeds/searchLog/
aaa@default_collection?query=document
Parameter Description
query
Query string for the
logContent
. The
logContent
contains many lines of
logs. The query string applies to each line and only lines that contain the
query string are returned.
maxLines
The maximum
logContent
lines to retrieve. The default value is
50
lines.
startLine
The first
logContent
lines to retrieve. The default value is
1
line.
Kommentare zu diesen Handbüchern