search_entity_logs
Search logs by a specific field value to correlate events to an entity like user ID or request ID.
Instructions
Search Observe logs filtered by a specific field value — useful for correlating logs to a particular entity such as a user ID, request ID, device ID, or any other identifier.
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": {
"field_name": "<field_name>",
"field_value": "<field_value>"
},
"name": "search_entity_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows (default 100) | |
| service | No | Optional service name to narrow results | |
| hours_ago | No | How many hours back to search (default 2) | |
| field_name | Yes | Field name to filter on, e.g. 'userId', 'requestId', 'deviceId' | |
| field_value | Yes | Value to match against the field | |
| dataset_path | No | Observe dataset path. Falls back to OBSERVE_DEFAULT_DATASET env var. |