|
702 | 702 | "processor" |
703 | 703 | ] |
704 | 704 | }, |
| 705 | + "GeoGridProcessor": { |
| 706 | + "properties": { |
| 707 | + "description": { |
| 708 | + "type": "string", |
| 709 | + "description": "Description of the processor. Useful for describing the purpose of the processor or its configuration." |
| 710 | + }, |
| 711 | + "if": { |
| 712 | + "type": "string", |
| 713 | + "description": "Conditionally execute the processor." |
| 714 | + }, |
| 715 | + "ignore_failure": { |
| 716 | + "type": "boolean", |
| 717 | + "description": "Ignore failures for the processor." |
| 718 | + }, |
| 719 | + "on_failure": { |
| 720 | + "items": { |
| 721 | + "$ref": "#/$defs/ProcessorContainer" |
| 722 | + }, |
| 723 | + "type": "array", |
| 724 | + "description": "Handle failures for the processor." |
| 725 | + }, |
| 726 | + "tag": { |
| 727 | + "type": "string", |
| 728 | + "description": "Identifier for the processor. Useful for debugging and metrics." |
| 729 | + }, |
| 730 | + "field": { |
| 731 | + "type": "string", |
| 732 | + "description": "The field to interpret as a geo-tile.= The field format is determined by the `tile_type`. Required." |
| 733 | + }, |
| 734 | + "tile_type": { |
| 735 | + "type": "string", |
| 736 | + "description": "Three tile formats are understood: geohash, geotile and geohex. Required." |
| 737 | + }, |
| 738 | + "target_field": { |
| 739 | + "type": "string", |
| 740 | + "description": "The field to assign the polygon shape to, by default, the `field` is updated in-place." |
| 741 | + }, |
| 742 | + "parent_field": { |
| 743 | + "type": "string", |
| 744 | + "description": "If specified and a parent tile exists, save that tile address to this field." |
| 745 | + }, |
| 746 | + "children_field": { |
| 747 | + "type": "string", |
| 748 | + "description": "If specified and children tiles exist, save those tile addresses to this field as an array of strings." |
| 749 | + }, |
| 750 | + "non_children_field": { |
| 751 | + "type": "string", |
| 752 | + "description": "If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings." |
| 753 | + }, |
| 754 | + "precision_field": { |
| 755 | + "type": "string", |
| 756 | + "description": "If specified, save the tile precision (zoom) as an integer to this field." |
| 757 | + }, |
| 758 | + "ignore_missing": { |
| 759 | + "type": "boolean", |
| 760 | + "description": "If `true` and `field` does not exist, the processor quietly exits without modifying the document." |
| 761 | + }, |
| 762 | + "target_format": { |
| 763 | + "type": "string", |
| 764 | + "description": "Which format to save the generated polygon in." |
| 765 | + } |
| 766 | + }, |
| 767 | + "additionalProperties": false, |
| 768 | + "type": "object", |
| 769 | + "required": [ |
| 770 | + "field", |
| 771 | + "tile_type" |
| 772 | + ] |
| 773 | + }, |
705 | 774 | "GeoIpProcessor": { |
706 | 775 | "properties": { |
707 | 776 | "description": { |
|
1378 | 1447 | "$ref": "#/$defs/ForeachProcessor", |
1379 | 1448 | "description": "Runs an ingest processor on each element of an array or object." |
1380 | 1449 | }, |
| 1450 | + "geo_grid": { |
| 1451 | + "$ref": "#/$defs/GeoGridProcessor", |
| 1452 | + "description": "Converts geo-grid definitions of grid tiles or cells to regular bounding boxes or polygons which describe their shape. This is useful if there is a need to interact with the tile shapes as spatially indexable fields." |
| 1453 | + }, |
1381 | 1454 | "geoip": { |
1382 | 1455 | "$ref": "#/$defs/GeoIpProcessor", |
1383 | 1456 | "description": "The `geoip` processor adds information about the geographical location of an IPv4 or IPv6 address." |
|
0 commit comments