diff --git a/salt/elasticsearch/templates/component/so/dtc-event-mappings b/salt/elasticsearch/templates/component/so/dtc-event-mappings index 1b4798487..8a026308b 100644 --- a/salt/elasticsearch/templates/component/so/dtc-event-mappings +++ b/salt/elasticsearch/templates/component/so/dtc-event-mappings @@ -30,7 +30,12 @@ "type": "keyword" }, "created": { - "type": "date" + "type": "date", + "fields": { + "keyword": { + "type": "keyword" + } + } }, "dataset": { "ignore_above": 1024, @@ -56,7 +61,12 @@ "type": "keyword" }, "ingested": { - "type": "date" + "type": "date", + "fields": { + "keyword": { + "type": "keyword" + } + } }, "kind": { "ignore_above": 1024,