logstash
Logstash is an open source data processing engine. It ingests data from multiple sources, processes it, and sends the output to final destination in real-time. It is a core component of the ELK stack.
About this chart
Logstash packaged by Bitnami
Logstash is an open source data processing engine. It ingests data from multiple sources, processes it, and sends the output to final destination in real-time. It is a core component of the ELK stack.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/logstash
Introduction
This chart bootstraps a logstash deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/logstash
These commands deploy logstash on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release statefulset:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release. Use the option --purge to delete all history too.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override logstash.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override logstash.fullname template | "" |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release (evaluated as a template). | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
Logstash parameters
| Name | Description | Value |
|---|---|---|
image.registry | Logstash image registry | docker.io |
image.repository | Logstash image repository | bitnami/logstash |
image.tag | Logstash image tag (immutable tags are recommended) | 8.4.3-debian-11-r2 |
image.digest | Logstash image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Logstash image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
hostAliases | Add deployment host aliases | [] |
configFileName | Logstash configuration file name. It must match the name of the configuration file mounted as a configmap. | logstash.conf |
enableMonitoringAPI | Whether to enable the Logstash Monitoring API or not Kubernetes cluster domain | true |
monitoringAPIPort | Logstash Monitoring API Port | 9600 |
extraEnvVars | Array containing extra env vars to configure Logstash | [] |
extraEnvVarsSecret | To add secrets to environment | "" |
extraEnvVarsCM | To add configmaps to environment | "" |
input | Input Plugins configuration | "" |
filter | Filter Plugins configuration | "" |
output | Output Plugins configuration | "" |
existingConfiguration | Name of existing ConfigMap object with the Logstash configuration (input, filter, and output will be ignored). | "" |
enableMultiplePipelines | Allows user to use multiple pipelines | false |
extraVolumes | Array to add extra volumes (evaluated as a template) | [] |
extraVolumeMounts | Array to add extra mounts (normally used with extraVolumes, evaluated as a template) | [] |
serviceAccount.create | Enable creation of ServiceAccount for Logstash pods | true |
serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated | "" |
serviceAccount.automountServiceAccountToken | Allows automount of ServiceAccountToken on the serviceAccount created | true |
serviceAccount.annotations | Additional custom annotations for the ServiceAccount | {} |
containerPorts | Array containing the ports to open in the Logstash container (evaluated as a template) | [] |
initContainers | Add additional init containers to the Logstash pod(s) | [] |
sidecars | Add additional sidecar containers to the Logstash pod(s) | [] |
replicaCount | Number of Logstash replicas to deploy | 1 |
updateStrategy.type | Update strategy type (RollingUpdate, or OnDelete) | RollingUpdate |
podManagementPolicy | Pod management policy | OrderedReady |
podAnnotations | Pod annotations | {} |
podLabels | Extra labels for Logstash pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment | [] |
priorityClassName | Pod priority | "" |
schedulerName | Name of the k8s scheduler (other than default) | "" |
terminationGracePeriodSeconds | In seconds, time the given to the Logstash pod needs to terminate gracefully | "" |
| `topologySpr |
Deploy logstash with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has logstash on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartlogstash is pinned at v5.1.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply