graylog_search_messages
Execute a Lucene query against Graylog to search messages within an absolute time range, returning matching log entries.
Instructions
Run a raw Graylog Lucene query over an absolute RFC3339 time range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>",
"from_time": "<from_time>",
"to_time": "<to_time>"
},
"name": "graylog_search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | timestamp | |
| limit | No | ||
| query | Yes | ||
| fields | No | ||
| offset | No | ||
| streams | No | ||
| to_time | Yes | ||
| from_time | Yes | ||
| sort_order | No | Ascending |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| events | Yes | ||
| returned | Yes | ||
| truncated | Yes | ||
| effective_timerange | No |