API - Tail the Solr request log (tail_access_log)

Logs & Analytics

Gives you the latest lines of the Solr log of the server that mention your Opensolr Index: each search and update Solr handled, with its parameters, hits and time.

Endpointhttps://opensolr.com/solr_manager/api/tail_access_log
MethodGET
Authemail and api_key of your account, as GET or POST parameters: Authentication.
In the panelLive stream

01 · Parameters

core_nameRequired

The name of your index.

02 · Example

curl -s "https://opensolr.com/solr_manager/api/tail_access_log?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index"

03 · Answer

status is true and msg is plain text, one log line per line. The last 1500 lines of the server log are read on a shared server, the last 300 on a dedicated one, and only those that mention your index are kept.

04 · Errors

No such indexHTTP 200

The index is not yours, or does not exist.

ERROR_AUTHENTICATION_FAILEDHTTP 403

The email and API key do not match.

ERROR_RATE_LIMIT_PER_MINUTEHTTP 429

Too many calls. Wait for the Retry-After seconds: Rate limits.

05 · Related

The web server log, with addresses and HTTP status: tail_apache_log. Search the whole history: request_log. Follow it live: stream_solr_log.

Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.