Skip to content

Commit 9746c61

Browse files
authored
fix: timestamp still needs nest fields (#406)
1 parent dc5af20 commit 9746c61

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

workflow-cli/configuration-opensearch/index_template/accessrollup.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@
1212
},
1313
"mappings": {
1414
"properties": {
15-
"timestamp_date_histogram": {
16-
"type": "date"
15+
"@timestamp": {
16+
"properties": {
17+
"date_histogram": {
18+
"type": "date"
19+
}
20+
}
1721
},
1822
"url_full_keyword": {
1923
"type": "keyword"

workflow-cli/configuration-opensearch/state_management_policy/nrm-type-access-external-policy.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
{
5656
"date_histogram": {
5757
"source_field": "@timestamp",
58-
"target_field": "timestamp_date_histogram",
5958
"fixed_interval": "60m",
6059
"timezone": "America/Vancouver"
6160
}

0 commit comments

Comments
 (0)