Goal: Improve performance and storage efficiency for metrics by automatically configuring Easysearch when the Console starts.
Current Problem:
The .infini_metrics index is created as a standard index. This is not optimal for time-series data and will lead to slow searches and high storage costs as data grows.
Proposed Solution:
On first run, the INFINI Console should automatically configure its connected Easysearch instance with smart defaults for the .infini_metrics data.
Key Changes:
-
Create a Data Stream named infini_metrics
- Why: Data streams automatically handle time-series data (create new indices, manage rollovers).
- How: Console creates an index template that points the
.infini_metrics alias to a new data stream.
-
Create a Rollup Job
- Why: To downsample old data, saving huge amounts of storage and making historical searches very fast.
- How: A job will summarize detailed data into hourly aggregates (e.g., avg, max, min) and store them in a
.infini_metrics_rollup index.
-
Add a Lifecycle Policy (ILM)
- Why: To automatically manage the data lifecycle.
- How: A policy will:
- Keep raw data for 3 days (for detailed analysis).
- Then, delete the raw data (after the rollup job has saved the aggregated results).
What the User Sees:
- Nothing! The Console works exactly the same, but searches are faster and storage use is much lower.
Technical Tasks:
Goal: Improve performance and storage efficiency for metrics by automatically configuring Easysearch when the Console starts.
Current Problem:
The
.infini_metricsindex is created as a standard index. This is not optimal for time-series data and will lead to slow searches and high storage costs as data grows.Proposed Solution:
On first run, the INFINI Console should automatically configure its connected Easysearch instance with smart defaults for the
.infini_metricsdata.Key Changes:
Create a Data Stream named
infini_metrics.infini_metricsalias to a new data stream.Create a Rollup Job
.infini_metrics_rollupindex.Add a Lifecycle Policy (ILM)
What the User Sees:
Technical Tasks: