Skip to content

Commit a122472

Browse files
authored
Merge pull request #218 from kube-logging/splunk-patch-1
Update splunk.md
2 parents 8624275 + 7b5eab8 commit a122472

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

content/docs/examples/splunk.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,19 @@ First, deploy Splunk Standalone in your Kubernetes cluster. The following proced
2727
1. Install the Splunk operator.
2828

2929
```yaml
30-
kubectl apply -n logging -f https://tiny.cc/splunk-operator-install
30+
kubectl apply -n logging -f https://github.com/splunk/splunk-operator/releases/download/2.4.0/splunk-operator-cluster.yaml
3131
```
3232

33-
1. Install the Splunk cluster.
33+
1. Install the Splunk cluster
3434

3535
```yaml
3636
kubectl apply -n logging -f - <<"EOF"
37-
apiVersion: enterprise.splunk.com/v1alpha2
37+
apiVersion: enterprise.splunk.com/v4
3838
kind: Standalone
3939
metadata:
4040
name: single
41-
spec:
42-
config:
43-
splunkPassword: helloworld456
44-
splunkStartArgs: --accept-license
45-
topology:
46-
standalones: 1
41+
finalizers:
42+
- enterprise.splunk.com/delete-pvc
4743
EOF
4844
```
4945
@@ -75,7 +71,7 @@ To install the Logging operator using Helm, see [Deploy the Logging operator wit
7571
1. Get a Splunk HEC Token.
7672
7773
```bash
78-
HEC_TOKEN=$(kubectl get secret -n logging splunk-single-standalone-secrets -o jsonpath='{.data.hec_token}' | base64 --decode)
74+
HEC_TOKEN=$(kubectl get secret -n logging splunk-logging-secret -o jsonpath='{.data.hec_token}' | base64 --decode)
7975
```
8076
8177
1. Create a Splunk output secret from the token.

0 commit comments

Comments
 (0)