API - Tail the Web Crawler Log

Web Crawler

Gives you the last lines of the crawl log of your Opensolr Index: what the crawl is doing at this moment.

Endpointhttps://opensolr.com/solr_manager/api/tail_crawl_log
MethodGET
Authemail and api_key of your account, as GET or POST parameters: Authentication.

01 · Parameters

core_nameRequired

The name of your index.

02 · Example

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

03 · Answer

status is true and msg holds the last two lines of the crawl log, as text, or Idle... when the index has no crawl log.

04 · Errors

No such indexHTTP 200

The index is not yours.

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 numbers of the crawl: get_crawl_stats.

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