def populate_fields(self, matches):
    alert_fields = []
    for arg in self.slack_alert_fields:
        arg = copy.copy(arg)
        arg['value'] = lookup_es_key(matches[0], arg['value'])
        alert_fields.append(arg)
    return alert_fields
def populate_fields(self, matches):
    alert_fields = []
    for arg in self.slack_alert_fields:
        arg = copy.copy(arg)
        arg['value'] = lookup_es_key(matches[0], arg['value'])
        alert_fields.append(arg)
    return alert_fields