index_log_file
Index a specific log file or time window on demand. Specify file, project, and optional start/end times to process only relevant events without waiting for background reindex.
Instructions
Index a specific log file (or time window within it) on demand. Use this instead of waiting for background reindex on large log files.
Args: file: Log filename or glob pattern (e.g., "device-26-04-28.log", "device-2026-05-14*.log") project: Project name containing log sources (required) time_from: Optional start time filter, HH:MM:SS format (e.g., "14:00:00"). Only index events at or after this time. time_to: Optional end time filter, HH:MM:SS format (e.g., "15:30:00"). Only index events at or before this time.
Returns: Summary of indexing results (files processed, chunks created, time range)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| project | No | ||
| time_to | No | ||
| time_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |