Skip to content

Commit

Permalink
Removed enrichments from EmrEtlRunner config.yml.sample and created e…
Browse files Browse the repository at this point in the history
…xample enrichments folder (#809)
  • Loading branch information
fblundun committed Jul 9, 2014
1 parent 3bd9dba commit d3f7332
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
4 changes: 1 addition & 3 deletions 3-enrich/emr-etl-runner/config/config.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,4 @@
:http:
:uri: http://iglucentral.com
:enrichments:
:anon_ip:
:enabled: false
:anon_octets: 1 # Or 2, 3 or 4. 0 is same as enabled: false
./enrichments
11 changes: 11 additions & 0 deletions 3-enrich/emr-etl-runner/config/enrichments/anon_ip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"schema": "iglu:com.snowplowanalytics.snowplow/anon_ip/jsonschema/1-0-0",

"data": {

"enabled": false,
"parameters": {
"anon_octets": 1
}
}
}
17 changes: 17 additions & 0 deletions 3-enrich/emr-etl-runner/config/enrichments/campaigns.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"schema": "iglu:com.snowplowanalytics.snowplow/anon_ip/jsonschema/1-0-0",

"data": {
"enabled": false,
"properties": {
"mapping": "static",
"fields": {
"mkt_medium": [],
"mkt_source": [],
"mkt_term": [],
"mkt_content": [],
"mkt_campaign": [],
}
}
}
}
11 changes: 11 additions & 0 deletions 3-enrich/emr-etl-runner/config/enrichments/ip_to_geo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"schema": "iglu:com.snowplowanalytics.snowplow/ip_to_geo/jsonschema/1-0-0",

"data": {

"enabled": true,
"parameters": {
"maxmind_file": "./maxmind"
}
}
}

0 comments on commit d3f7332

Please sign in to comment.