elog_search
Search electronic logbook entries by full-text, attributes, or date range. Retrieve matching entries with metadata, attachments, and URLs for analysis or reference.
Instructions
Search logbook entries by full text, attributes, and/or date.
Args: text: Regular expression matched against entry message bodies. Use ^…$ anchors for exact matches. attributes: Exact attribute filters as regular expressions, e.g. {"Author": "^jdoe$", "Category": "DAQ"}. date_from: Inclusive range start, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM[:SS]'. date_to: Inclusive range end, same formats (time defaults to 23:59:59). last_days: Show entries from the last N days instead of an explicit range. logbook: Logbook name to search, or "*" to search all known logbooks. max_results: Maximum number of entries returned per page (server cap 100000). reverse: Sort newest-first when true, oldest-first when false.
Returns {"total": int, "entries": [{id, logbook?, date_raw, date_iso?, attributes{}, text_excerpt, encoding, encoding_name, attachments[], reply_to[], in_reply_to?, url}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| date_to | No | ||
| logbook | No | * | |
| reverse | No | ||
| date_from | No | ||
| last_days | No | ||
| attributes | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||