Updating a search log – Google Search Appliance Administrative API Developers Guide: Protocol User Manual
Page 64

Google Search Appliance: Administrative API Developer’s Guide: Protocol
64
A search log entry with logContent (if content is ready) returns:
xmlns:gsa=’http://schemas.google.com/gsa/2007’> 2009-03-26T06:22:41.416Z href=’http://gsa:8000/feeds/searchLog/aaa%40default_collection’/> href=’http://gsa:8000/feeds/searchLog/aaa%40default_collection’/> 127.0.0.2!127.0.0.1 - - [25/Mar/2009:23:18:43 -0800] "GET /search?q=document&btnG=Google+Search&access=p& 127.0.0.2!127.0.0.1 - - [25/Mar/2009:23:18:14 -0800] "GET /search?q=document&btnG=Google+Search&access=p& March 25, 2009 11:20:20 PM PDT
client=default_frontend&output=xml_no_dtd&
proxystylesheet=default_frontend&sort=date%3AD%3AL%3Ad1&
entqr=0&oe=UTF-8&ie=UTF-8&ud=1&site=default_collection&
ip=172.30.120.197 HTTP/1.1" 200 2432 3 0.02
client=default_frontend&output=xml_no_dtd&
proxystylesheet=default_frontend&sort=date%3AD%3AL%3Ad1&
entqr=0&oe=UTF-8&ie=UTF-8&ud=1&site=default_collection&
ip=172.30.120.197 HTTP/1.1" 200 2432 3 0.02
Updating a Search Log
To update the search log status and get search log content, send an authenticated PUT request to a
search log entry of the searchLog feed. There are no properties for this use of the searchLog feed:
http://Search_Appliance:8000/feeds/searchLog/bbb@default_collection
Specify a request with content:
xmlns:gsa=’http://schemas.google.com/gsa/2007’>