search_by_field
Search OpenTelemetry logs stored in OpenSearch by specifying a field and value, such as user_id or request_id, across development and production environments.
Instructions
Search logs by a specific field and value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | Yes | Environment to search: 'dev'/'prod' (iOS) or 'android-dev'/'android-prod' (Android) | |
| field | Yes | The field name to search. Examples: 'user_id', 'request_id', 'endpoint' | |
| value | Yes | The value to search for | |
| timeRange | No | Time range to search within | |
| size | No | Maximum number of results to return (default: 50) |