Skip to content

Commit

Permalink
Add assertion on time_series_dimension
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbarny committed Jul 30, 2024
1 parent 5df75c7 commit 3d01efe
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,12 @@ non string dimension fields:
index: $idx0name
expand_wildcards: hidden
- match: { .$idx0name.mappings.properties.attributes.properties.string.type: 'keyword' }
- match: { .$idx0name.mappings.properties.attributes.properties.string.time_series_dimension: true }
- match: { .$idx0name.mappings.properties.attributes.properties.boolean.type: 'boolean' }
- match: { .$idx0name.mappings.properties.attributes.properties.boolean.time_series_dimension: true }
- match: { .$idx0name.mappings.properties.attributes.properties.integer.type: 'long' }
- match: { .$idx0name.mappings.properties.attributes.properties.integer.time_series_dimension: true }
- match: { .$idx0name.mappings.properties.attributes.properties.double.type: 'double' }
- match: { .$idx0name.mappings.properties.attributes.properties.double.time_series_dimension: true }
- match: { .$idx0name.mappings.properties.attributes.properties.host\.ip.type: 'ip' }
- match: { .$idx0name.mappings.properties.attributes.properties.host\.ip.time_series_dimension: true }

0 comments on commit 3d01efe

Please sign in to comment.