get_index_mapping
Get the field mapping (schema) for an OpenSearch index, listing all fields and their data types. Use it to understand index structure before querying or analyzing logs.
Instructions
Get the field mapping (schema) for an index, showing all fields and their types.
Args: index: Name of the index (e.g. 'filebeat-2024.01.15' or 'logs-*').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |