Field capabilities
field_capsCheck which fields exist across an index pattern and whether each is searchable or aggregatable. Detect fields mapped as multiple types across indices to avoid silently partial aggregations.
Instructions
Which fields exist across an index pattern and whether each is searchable and aggregatable. Takes a wildcard, unlike get_mappings, and is the only way to see a field mapped as two different types across indices — which makes an aggregation over it silently partial rather than failing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index, alias or wildcard, e.g. logs-app-* | |
| fields | No | Field name or wildcard to ask about, e.g. log.* — comma-separated for several. Defaults to every field. |