The enrichment config file defines what enrichments to apply to each message source. It is a text file in json format.
Json Field | Type | Description | Required/Default |
---|---|---|---|
source | string | Source of message to enrich. Apply these enrichments to the specified source. | required |
kind | enum [LOCAL,HBASE] | Defines where the enrichment data is stored. | required |
fields | list of EnrichmentFields | Maps message fields to enrichments | required |
Json Field | Type | Description | Required/Default |
---|---|---|---|
name | string | Use this field value as the key to the enrichment. | required |
enrichmentType | string | Name of the enrichment type to apply. | required |
In the example below, the triaging job will apply the following enrichments to messages with squid source:
- Lookup domain in the malicious_domain map stored in Flink state.
- Lookup domain in the domain_category map stored in Flink state.
- Lookup domain in the majestic_million mapping stored in HBase.
[
{
"source": "squid",
"kind": "LOCAL",
"fields": [
{
"name": "domain",
"enrichmentType": "malicious_domain"
},
{
"name": "domain",
"enrichmentType": "domain_category"
}
]
},
{
"source": "squid",
"kind": "HBASE",
"fields": [
{
"name": "domain",
"enrichmentType": "majestic_million"
}
]
}
]