Logs & Analytics API
Get Solr Error Log
Retrieve the error log for your Opensolr Index. Returns recent Solr errors, warnings, and severe messages to help you diagnose indexing or query issues.
Endpoint
GET https://opensolr.com/solr_manager/api/get_error_log
Parameters
| Parameter | Status | Description |
|---|---|---|
email | Required | Your Opensolr registration email address |
api_key | Required | Your Opensolr API key |
core_name | Required | The name of the index you wish to get the error log for |
The error log contains ERROR, WARN, and SEVERE level messages from Solr. Check this when your queries return unexpected results, indexing fails, or you see HTTP 400/500 errors in your request log.
Code Examples
cURL
curl -s "https://opensolr.com/solr_manager/api/get_error_log?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_solr_core"
PHP
$params = http_build_query([ 'email' => 'YOUR_EMAIL', 'api_key' => 'YOUR_API_KEY', 'core_name' => 'my_solr_core', ]); $response = file_get_contents("https://opensolr.com/solr_manager/api/get_error_log?{$params}"); $result = json_decode($response, true); print_r($result);
Python
import requests response = requests.get("https://opensolr.com/solr_manager/api/get_error_log", params={ "email": "YOUR_EMAIL", "api_key": "YOUR_API_KEY", "core_name": "my_solr_core", }) print(response.json())
Related Documentation
Traffic Monitoring APIAdvanced traffic analysis with facets, date ranges, and CSV export.
Get Error LogRetrieve recent Solr errors and warnings for your index.
Get Request LogQuery your full request log with Solr-style parameters.
Monitoring UIReal-time monitoring dashboard in your Opensolr control panel.
Need help debugging Solr errors? We are here to help.
Contact Support