diff options
| author | doufenghu <[email protected]> | 2024-06-15 23:50:43 +0800 |
|---|---|---|
| committer | doufenghu <[email protected]> | 2024-06-15 23:50:43 +0800 |
| commit | 691f7172a5ce463ca565b744d6c68f173427a6ca (patch) | |
| tree | 4c585ae27f13c1a6cb82c80d3bd7b2398733bb49 /docs/processor | |
| parent | 80769f631cfdd66ae5b5f1824a00d12fa2e5e43a (diff) | |
[Improve][docs] Add mock source connector documents.
Diffstat (limited to 'docs/processor')
| -rw-r--r-- | docs/processor/udf.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/processor/udf.md b/docs/processor/udf.md index 74fa2d0..c81b705 100644 --- a/docs/processor/udf.md +++ b/docs/processor/udf.md @@ -310,6 +310,18 @@ Example: kb_name: tsg_ip_location option: IP_TO_DETAIL ``` +```yaml + - 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 +``` ### JSON Extract JSON extract function is used to extract the value from json string. |
