0Pricing
System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) · Ders

Dizin Yaşam Döngüsü Yönetimi (ILM)

Günlük dizinlerinin hızlı, depolamanın ise denetim altında kalması için döngüsel devri, sıcak-ılık-soğuk mimariyi ve saklamayı otomatikleştiren Index Lifecycle Management konusunda ustalaşın.

Dizin Yaşam Döngüsü Yönetimi (ILM), CoddyKit'te ücretsiz bir System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) dersidir. Bu, 4 dersinin 4. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) kursu toplamda 4 dersten oluşur.

Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.

Why Manage Index Lifecycle?

Time-series data like logs grows endlessly. Index Lifecycle Management (ILM) automates moving, shrinking, and deleting indices so old data does not crush your cluster.

Rollover

Rollover creates a new index when the current one hits a size, age, or document count threshold. Writes always go to a single alias.

rollover:
  max_size: 50gb
  max_age: 1d
  max_docs: 100000000

Write Aliases

Apps write to an alias such as logs-write. ILM swaps which physical index the alias points to on rollover, invisible to the writer.

POST logs-write/_doc
{ "message": "..." }

The Phases

ILM defines lifecycle phases a data ages through.

  • Hot: actively written and queried
  • Warm: read-only, queried less
  • Cold: rarely queried, cheap storage
  • Delete: removed

Hot Phase

The hot phase lives on the fastest nodes with the most resources, handling all writes and recent queries.

phases:
  hot:
    actions:
      rollover: { max_age: 1d }

Warm Phase

In warm, indices become read-only and may move to cheaper nodes. You can shrink shards and force-merge segments to save space.

warm:
  min_age: 7d
  actions:
    forcemerge: { max_num_segments: 1 }
    shrink: { number_of_shards: 1 }

Cold and Frozen

Cold data moves to the cheapest disks; frozen can be searched directly from object storage. Both trade query speed for cost.

cold:
  min_age: 30d
  actions:
    allocate: { require: { data: cold } }

Delete Phase

The delete phase enforces retention by removing indices past a chosen age, the simplest way to cap storage growth.

delete:
  min_age: 90d
  actions:
    delete: {}

Attaching a Policy

An index template binds new indices to an ILM policy and the write alias automatically.

PUT _index_template/logs
{ "template": { "settings": {
  "index.lifecycle.name": "logs-policy" } } }

Node Roles

Hot-warm-cold relies on node attributes so allocation actions can route shards to the right hardware tier.

node.attr.data: hot   # on fast nodes
node.attr.data: cold  # on cheap nodes

Putting It Together

A typical logging policy: roll over daily in hot, move to warm and force-merge after a week, go cold after a month, and delete after ninety days.

Quick Check

Pick the phase that enforces retention.

Recap

You learned how ILM automates index management: rollover starts fresh indices behind a write alias, and the hot-warm-cold-delete phases move data to cheaper tiers as it ages and finally remove it. Index templates bind policies automatically, keeping clusters fast and storage bounded.

Sıkça Sorulan Sorular

“Dizin Yaşam Döngüsü Yönetimi (ILM)” dersi ücretsiz mi?

Evet — “Dizin Yaşam Döngüsü Yönetimi (ILM)” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) kursu toplamda 4 dersten oluşur.

“Dizin Yaşam Döngüsü Yönetimi (ILM)” dersinde ne öğreneceğim?

Günlük dizinlerinin hızlı, depolamanın ise denetim altında kalması için döngüsel devri, sıcak-ılık-soğuk mimariyi ve saklamayı otomatikleştiren Index Lifecycle Management konusunda ustalaşın. System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.

System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) öğrenmeye başlamak için deneyim gerekli mi?

Önceden deneyim gerekmez. CoddyKit'te System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry), başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 4. dersidir.

“Dizin Yaşam Döngüsü Yönetimi (ILM)” dersi ne kadar sürer?

Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.

Bu System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) dersinde kod yazıp çalıştırabilir miyim?

Evet. Her System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.

Bu kursun tüm dersleri

  1. Elasticsearch Sorgu Dili (DSL)
  2. Logstash Filtreleri ve İşlem Hatları
  3. Kibana Discover ve Lens
  4. Dizin Yaşam Döngüsü Yönetimi (ILM)
← System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) Sayfasına Dön