Logging Operator
  • Logging Operator
  • Quickstart
  • Installation
    • Kubectl
    • Helm
  • Setup
  • Management
  • Configuration
    • Elasticsearch
    • Fluentd
    • Kibana
    • Index Lifecycle
    • Index Template
  • DEVELOPMENT
  • ROADMAP
  • CHANGELOG
Powered by GitBook
On this page
  • Index LifeCycle
  • Kubectl
  • Helm
  • Index Template
  • Kubectl
  • Helm

Was this helpful?

Management

A logging operator management stuff

PreviousSetupNextElasticsearch

Last updated 4 years ago

Was this helpful?

Index LifeCycle

There is an API created for managing the index lifecycle policies.

---
apiVersion: logging.opstreelabs.in/v1alpha1
kind: IndexLifecycle

Kubectl

For deploying the index lifecycle, we may need to update the file under .

kubectl apply -f config/samples/lifecycle-example.yaml

Helm

Helm can also be used to deploy the index lifecycle. After updating the values file inside .

helm upgrade index-lifecycle ./ \
    -f values.yaml --set lifecycle.enabled=true \
    --namesapce logging-operator --install

Index Template

There is an API created for managing the index templates.

---
apiVersion: logging.opstreelabs.in/v1alpha1
kind: IndexTemplate

Kubectl

kubectl apply -f config/samples/index-template-example.yaml

Helm

helm upgrade index-template ./ \
    -f values.yaml --set indexTemplate.enabled=true \
    --namesapce logging-operator --install

For deploying the index template, we may need to update the file under .

Helm can also be used to deploy the index templates. After updating the values file inside .

config/samples/lifecycle-example.yaml
helm-charts
config/samples/index-template-example.yaml
helm-charts