diff options
| author | doufenghu <[email protected]> | 2024-10-30 20:15:51 +0800 |
|---|---|---|
| committer | doufenghu <[email protected]> | 2024-10-30 20:15:51 +0800 |
| commit | ac04f1d8735fb500c11aa87239c9c8c23e5af41a (patch) | |
| tree | 4fc04287a1f6a5bb9ae8efbb2e50f0d4a1651d76 /groot-examples/end-to-end-example | |
| parent | d2579028fb90bd60ca9e5f9fa36cbde8a6db8872 (diff) | |
[Improve][core] Enhance the drop, AsnLookup, and GeoIPLookup UDF context configuration checks by using a common validation utility.
Diffstat (limited to 'groot-examples/end-to-end-example')
| -rw-r--r-- | groot-examples/end-to-end-example/src/main/resources/examples/inline_to_print_test.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/groot-examples/end-to-end-example/src/main/resources/examples/inline_to_print_test.yaml b/groot-examples/end-to-end-example/src/main/resources/examples/inline_to_print_test.yaml index 77afab8..047f1ba 100644 --- a/groot-examples/end-to-end-example/src/main/resources/examples/inline_to_print_test.yaml +++ b/groot-examples/end-to-end-example/src/main/resources/examples/inline_to_print_test.yaml @@ -92,6 +92,21 @@ processing_pipelines: kb_name: tsg_ip_location option: IP_TO_DETAIL + - function: GEOIP_LOOKUP + lookup_fields: [ server_ip ] + output_fields: [ ] + parameters: + kb_name: tsg_ip_location + option: IP_TO_OBJECT + geolocation_field_mapping: + COUNTRY: server_country + PROVINCE: server_super_administrative_area + CITY: server_administrative_area + LONGITUDE: server_longitude + LATITUDE: server_latitude + ISP: server_isp + ORGANIZATION: server_organization + - function: JSON_EXTRACT lookup_fields: [ device_tag ] output_fields: [ device_group ] |
