Skip to content

Instantly share code, notes, and snippets.

@gengwg
Created July 21, 2017 18:03
Show Gist options
  • Save gengwg/41af5d9f3ec5e830e91b2cd8e4587d01 to your computer and use it in GitHub Desktop.
Save gengwg/41af5d9f3ec5e830e91b2cd8e4587d01 to your computer and use it in GitHub Desktop.
HTTP/1.1 200 OK
Content-Length: 3900
Content-Type: application/json; charset=UTF-8
{
"email_savingscatcher_v2": {
"mappings": {
"_default_": {
"_timestamp": {
"enabled": true
},
"_ttl": {
"default": 5184000000,
"enabled": true
},
"properties": {
"@timestamp": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
},
"activity": {
"index": "not_analyzed",
"type": "string"
},
"campaign_id": {
"index": "not_analyzed",
"type": "string"
},
"campaign_name": {
"index": "not_analyzed",
"type": "string"
},
"device_type": {
"index": "not_analyzed",
"type": "string"
},
"email_address": {
"index": "not_analyzed",
"type": "string"
},
"eventtime": {
"format": "epoch_millis",
"type": "date"
},
"ip_address": {
"type": "string"
},
"is_mobile": {
"type": "boolean"
},
"mailing_id": {
"index": "not_analyzed",
"type": "string"
},
"message": {
"type": "string"
},
"sent_time": {
"format": "epoch_millis",
"type": "date"
},
"type": {
"index": "not_analyzed",
"type": "string"
},
"url": {
"type": "string"
},
"user_agent": {
"index": "not_analyzed",
"type": "string"
},
"user_id": {
"type": "string"
}
}
},
"click": {
"_timestamp": {
"enabled": true
},
"_ttl": {
"default": 5184000000,
"enabled": true
},
"properties": {
"@timestamp": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
},
"activity": {
"index": "not_analyzed",
"type": "string"
},
"ad_id": {
"type": "string"
},
"campaign_id": {
"index": "not_analyzed",
"type": "string"
},
"campaign_name": {
"index": "not_analyzed",
"type": "string"
},
"device_type": {
"index": "not_analyzed",
"type": "string"
},
"email_address": {
"index": "not_analyzed",
"type": "string"
},
"eventtime": {
"format": "epoch_millis",
"type": "date"
},
"ip_address": {
"type": "string"
},
"is_mobile": {
"type": "boolean"
},
"is_module": {
"type": "boolean"
},
"item_id": {
"type": "string"
},
"mailing_id": {
"index": "not_analyzed",
"type": "string"
},
"message": {
"type": "string"
},
"moduleid": {
"type": "string"
},
"params": {
"properties": {
"adid": {
"type": "string"
},
"e_type": {
"type": "string"
},
"moduleid": {
"type": "string"
},
"veh": {
"type": "string"
}
}
},
"sent_time": {
"format": "epoch_millis",
"type": "date"
},
"type": {
"index": "not_analyzed",
"type": "string"
},
"url": {
"type": "string"
},
"user_agent": {
"index": "not_analyzed",
"type": "string"
},
"user_id": {
"type": "string"
}
}
},
"open": {
"_timestamp": {
"enabled": true
},
"_ttl": {
"default": 5184000000,
"enabled": true
},
"properties": {
"@timestamp": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
},
"activity": {
"index": "not_analyzed",
"type": "string"
},
"campaign_id": {
"index": "not_analyzed",
"type": "string"
},
"campaign_name": {
"index": "not_analyzed",
"type": "string"
},
"device_type": {
"index": "not_analyzed",
"type": "string"
},
"email_address": {
"index": "not_analyzed",
"type": "string"
},
"eventtime": {
"format": "epoch_millis",
"type": "date"
},
"ip_address": {
"type": "string"
},
"is_mobile": {
"type": "boolean"
},
"is_module": {
"type": "boolean"
},
"mailing_id": {
"index": "not_analyzed",
"type": "string"
},
"message": {
"type": "string"
},
"params": {
"properties": {
"e_type": {
"type": "string"
}
}
},
"sent_time": {
"format": "epoch_millis",
"type": "date"
},
"type": {
"index": "not_analyzed",
"type": "string"
},
"url": {
"type": "string"
},
"user_agent": {
"index": "not_analyzed",
"type": "string"
},
"user_id": {
"type": "string"
}
}
},
"send": {
"_timestamp": {
"enabled": true
},
"_ttl": {
"default": 5184000000,
"enabled": true
},
"properties": {
"@timestamp": {
"format": "strict_date_optional_time||epoch_millis",
"type": "date"
},
"activity": {
"index": "not_analyzed",
"type": "string"
},
"campaign_id": {
"index": "not_analyzed",
"type": "string"
},
"campaign_name": {
"index": "not_analyzed",
"type": "string"
},
"customer_id": {
"type": "string"
},
"device_type": {
"index": "not_analyzed",
"type": "string"
},
"emailType": {
"type": "string"
},
"email_address": {
"index": "not_analyzed",
"type": "string"
},
"eventtime": {
"format": "epoch_millis",
"type": "date"
},
"ip_address": {
"type": "string"
},
"is_mobile": {
"type": "boolean"
},
"mailing_id": {
"index": "not_analyzed",
"type": "string"
},
"message": {
"type": "string"
},
"publish_time": {
"type": "string"
},
"sent_time": {
"format": "epoch_millis",
"type": "date"
},
"type": {
"index": "not_analyzed",
"type": "string"
},
"url": {
"type": "string"
},
"user_agent": {
"index": "not_analyzed",
"type": "string"
},
"user_id": {
"type": "string"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment