Streams the requests your Opensolr Index receives, as they come: one reading every few seconds, each with the requests since the reading before.
https://opensolr.com/solr_manager/api/stream_solr_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).
maxRequiredHow many readings, then the stream ends. Without it the stream ends at once.
intervalOptionalSeconds between readings, a whole number.
02 · Example
curl -sN "https://opensolr.com/solr_manager/api/stream_solr_log?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index&interval=2&max=30"
03 · Answer
Plain text, one JSON object per reading, each on its own line. Blank padding comes between the lines so that proxies pass each one at once: split on new lines and skip the blank ones.
{ "core_name": "my_index", "new_requests": 2, "requests": [ "..." ], "timestamp": 1760191200, "timestamp_readable": "..." }
04 · Errors
An index that is not yours answers {"status": false, "msg": "No such index"} and the stream ends.
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
CPU, memory, disk and load of the server, live: stream_server_data. The latest lines at once: tail_access_log.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.