Overview
JobLog API is an API for retrieving Fess job execution logs. You can view execution history and error information for scheduled jobs and crawl jobs.
Base URL
Endpoint List
| Method | Path | Description |
|---|---|---|
| GET | / | List job logs |
| GET | /{id} | Get job log details |
| DELETE | /{id} | Delete job log |
| DELETE | /delete-all | Delete all job logs |
List Job Logs
Request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
size | Integer | No | Number of items per page (default: 20) |
page | Integer | No | Page number (starts from 0) |
status | String | No | Status filter (ok/fail/running) |
from | String | No | Start date/time (ISO 8601 format) |
to | String | No | End date/time (ISO 8601 format) |
Response
Response Fields
| Field | Description |
|---|---|
id | Job log ID |
jobName | Job name |
jobStatus | Job status (ok/fail/running) |
target | Execution target |
scriptType | Script type |
scriptData | Execution script |
scriptResult | Execution result |
startTime | Start time |
endTime | End time |
executionTime | Execution time (milliseconds) |
Get Job Log Details
Request
Response
Delete Job Log
Request
Response
Delete All Job Logs
Request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
before | String | No | Delete logs before this date/time (ISO 8601 format) |
status | String | No | Delete only logs with this status |
Response
Usage Examples
List Job Logs
Get Failed Jobs Only
Get Job Logs for Specific Period
Get Job Log Details
Delete Old Job Logs
Delete Failed Job Logs Only
Detect Long-Running Jobs
Calculate Job Success Rate
Reference
Admin API Overview - Admin API Overview
Scheduler API - Scheduler API
CrawlingInfo API - Crawling Info API
Job Log - Job Log Management Guide