Skip to content

Commit

Permalink
fix: remove index.sort.field for internal metrics
Browse files Browse the repository at this point in the history
illegal_argument_exception: [illegal_argument_exception] Reason: [index.mode=time_series]
is incompatible with [index.sort.field]
  • Loading branch information
kruskall committed Dec 15, 2022
1 parent 2f3db6b commit a9d756a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apmpackage/apm/data_stream/internal_metrics/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ type: metrics
dataset: apm.internal
ilm_policy: metrics-apm.internal_metrics-default_policy
elasticsearch:
index_mode: "time_series"
index_template:
mappings:
# Internal metrics should have all fields strictly mapped;
Expand All @@ -21,8 +22,3 @@ elasticsearch:
type: aggregate_metric_double
metrics: [sum, value_count]
default_metric: sum
settings:
index:
mode: "time_series"
sort.field: "@timestamp"
sort.order: desc

0 comments on commit a9d756a

Please sign in to comment.