jitsu icon indicating copy to clipboard operation
jitsu copied to clipboard

UI for enrichment rules

Open akhtyamovrr opened this issue 4 years ago • 0 comments

Problem

There is no way to configure enrichment rules yet

Solution

Example of destination JSON configuration with enrichment rules:

{
            "$type": "PostgresConfig",
            "_comment": null,
            "_connectionErrorMessage": null,
            "_connectionTestOk": true,
            "_formData": {
                ...
            },
            "_id": "some_id",
            "_mappings": {
                "$type": "FieldMappings",
                "_keepUnmappedFields": true,
                "_mappings": []
            },
            "_enrichment": [
                {
                  "name": "ip_lookup",
                  "from": "/source_ip",
                  "to": "/eventn_ctx/location"
                } 
            ],
            "_onlyKeys": [
                ...
            ],
            "_type": "postgres",
            "_uid": "some_uid"
}

UI should provide a way to configure enrichment rules (backend part is implemented at #179 )

akhtyamovrr avatar Jan 19 '21 20:01 akhtyamovrr