Configure Element-to-Enrichment Mapping
We now need to configure what element of a tuple should be enriched with what enrichment type. This configuration is stored in ZooKeeper.
We now need to configure what element of a tuple should be enriched with what enrichment type. This configuration is stored in ZooKeeper.
sudo -s $METRON_HOME
enrichment_config_temp.json
at $METRON_HOME/config.
{
"zkQuorum" : "$ZOOKEEPER_HOST:2181"
,"sensorToFieldList" : {
"squid" : {
"type" : "THREAT_INTEL"
,"fieldToEnrichmentTypes" : {
"domain_without_subdomains" : [ "whois" ]
}
}
}
}
iconv -c -f utf-8 -t ascii enrichment_config_temp.json -o enrichment_config.json