Gives you the latest errors Solr logged for your Opensolr Index, already parsed: time, level, message, stack trace and root cause.
https://opensolr.com/solr_manager/api/get_error_logemail and api_key of your account, as GET or POST parameters: Authentication.01 · Parameters
core_nameRequiredThe name of your index (index_name works too).
02 · Example
curl -s "https://opensolr.com/solr_manager/api/get_error_log?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index"
03 · Answer
status is true and msg is a string that holds JSON: decode it a second time. It has errors, the last 50 errors found in the latest lines of the server log, and summary.
{ "errors": [ { "timestamp": "...", "level": "ERROR", "message": "undefined field: price_x", "stack_trace": [ "..." ], "caused_by_chain": [], "root_cause": null, "severity": "..." } ], "summary": { "total": 1 } }
With no error, errors is empty and summary.message says No errors found for this core.
04 · Errors
ERROR_NOT_CORE_OWNERHTTP 200The index is not yours.
ERROR_AUTHENTICATION_FAILEDHTTP 403The email and API key do not match.
ERROR_RATE_LIMIT_PER_MINUTEHTTP 429Too many calls. Wait for the Retry-After seconds: Rate limits.
05 · Related
Every request the index received: request_log.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.