openshift-logforwarding-splunk

by joaquinito2051

Helm chartv0.0.6

Log Forwarding from OpenShift to Splunk

About this chart

openshift-logforwarding-splunk

Deploys an instance of Fluentd with support for integrating with the OpenShift Log Forwarding API to forward logs to Splunk via the HTTP Event Collector (HEC).

Prerequisites

The following prerequisites must be satisfied prior to the installation

  • OpenShift 4.3+
  • OpenShift Cluster Logging Installed
  • Splunk instance available

Installing the Chart

While the chart provides a sensible set of default value, the value of the HEC token must be provided using the value forwarding.splunk.token. The chart can be installed with the release name openshift-logforwarding-splunk into the openshift-logging namespace as shown below:

$ helm install --namespace=openshift-logging openshift-logforwarding-splunk . --set forwarding.splunk.token=<token>

Configuration

A full list of configurable values to customize the behavior of the chart can be found in the values.yaml file.

Uninstalling the Chart

To remove the previously installed chart, execute the following command:

$ helm uninstall --namespace=openshift-logging openshift-logforwarding-splunk

Deploy openshift-logforwarding-splunk with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openshift-logforwarding-splunk 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopenshift-logforwarding-splunk is pinned at v0.0.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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