get_logs_field_values
Discover available values for specific log fields in Datadog to understand filtering options and refine log analysis queries.
Instructions
Get possible values for a specific log field to understand filtering options
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_name | Yes | The field to get possible values for (e.g., 'service', 'env', 'status', 'host', 'source', 'environment', 'errorMessage', 'logger.name', 'region', 'lambda.arn', 'functionname', 'lambda.name', 'lambda.request_id', 'xray.TraceId', 'http.referer', 'mongodb.collectionName', 'mongodb.dbName') | |
| time_range | No | Time range to look back | 1h |
| query | No | Optional query to filter logs before discovering field values | |
| limit | No | Maximum number of field values to return | |
| format | No | Output format | table |