You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: base/redhat-8/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal
20
20
LABEL name="splunk" \
21
21
maintainer="support@splunk.com" \
22
22
vendor="splunk" \
23
-
version="7.3.0" \
23
+
version="7.3.1.1" \
24
24
release="1" \
25
25
summary="UBI 8 Docker image of Splunk Enterprise" \
26
26
description="Splunk Enterprise is a platform for operational intelligence. Our software lets you collect, analyze, and act upon the untapped value of big data that your technology infrastructure, security systems, and business applications generate. It gives you insights to drive operational performance and business results."
Execute the following to bring up your deployment:
52
53
```
@@ -56,9 +57,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
56
57
## Create standalone with license
57
58
Adding a Splunk Enterprise license can be done in multiple ways. Please review the following compose files below to see how it can be achieved, either with a license hosted on a webserver or with a license file as a direct mount.
58
59
59
-
<details><summary>docker-compose.yml - license from URL</summary><p>
60
+
<details><summary>docker-compose.yml - license from URL</summary>
60
61
61
-
```
62
+
```yaml
62
63
version: "3.6"
63
64
64
65
services:
@@ -72,11 +73,11 @@ services:
72
73
ports:
73
74
- 8000
74
75
```
75
-
</p></details>
76
+
</details>
76
77
77
-
<details><summary>docker-compose.yml - license from file</summary><p>
78
+
<details><summary>docker-compose.yml - license from file</summary>
78
79
79
-
```
80
+
```yaml
80
81
version: "3.6"
81
82
82
83
services:
@@ -92,7 +93,7 @@ services:
92
93
volumes:
93
94
- ./splunk.lic:/tmp/license/splunk.lic
94
95
```
95
-
</p></details>
96
+
</details>
96
97
97
98
98
99
Execute the following to bring up your deployment:
@@ -103,9 +104,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
103
104
## Create standalone with HEC
104
105
To learn more about what the HTTP event collector (HEC) is and how to use it, please review the documentation [here](https://docs.splunk.com/Documentation/Splunk/latest/Data/UsetheHTTPEventCollector).
105
106
106
-
<details><summary>docker-compose.yml</summary><p>
107
+
<details><summary>docker-compose.yml</summary>
107
108
108
-
```
109
+
```yaml
109
110
version: "3.6"
110
111
111
112
services:
@@ -119,7 +120,7 @@ services:
119
120
ports:
120
121
- 8000
121
122
```
122
-
</p></details>
123
+
</details>
123
124
124
125
Execute the following to bring up your deployment:
You can also enable distributed deployments. In this case, we can create a Splunk universal forwarder running in a container to stream logs to a Splunk standalone, also running in a container.
207
212
208
-
```
213
+
<details><summary>docker-compose.yml</summary>
214
+
215
+
```yaml
209
216
version: "3.6"
210
217
211
218
networks:
@@ -246,7 +253,7 @@ services:
246
253
- 8000
247
254
- 8089
248
255
```
249
-
</p></details>
256
+
</details>
250
257
251
258
Execute the following to bring up your deployment:
252
259
```
@@ -256,9 +263,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
256
263
## Create heavy forwarder
257
264
The following will allow you spin up a forwarder, and stream its logs to an independent, external indexer located at `idx1-splunk.company.internal`, as long as that hostname is reachable on your network.
258
265
259
-
<details><summary>docker-compose.yml</summary><p>
266
+
<details><summary>docker-compose.yml</summary>
260
267
261
-
```
268
+
```yaml
262
269
version: "3.6"
263
270
264
271
networks:
@@ -284,7 +291,7 @@ services:
284
291
ports:
285
292
- 1514
286
293
```
287
-
</p></details>
294
+
</details>
288
295
289
296
Execute the following to bring up your deployment:
290
297
```
@@ -294,9 +301,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
294
301
## Create heavy forwarder and deployment server
295
302
The following will allow you spin up a forwarder, and stream its logs to an independent, external indexer located at `idx1-splunk.company.internal`, as long as that hostname is reachable on your network. Additionally, it brings up a deployment server, which will download an app and distribute it to the heavy forwarder.
Additionally, review the `docker-compose.yml` below to understand how linking Splunk instances together through roles and environment variables is accomplished:
354
-
<details><summary>docker-compose.yml</summary><p>
361
+
<details><summary>docker-compose.yml</summary>
355
362
356
-
```
363
+
```yaml
357
364
version: "3.6"
358
365
359
366
networks:
@@ -466,7 +473,7 @@ services:
466
473
volumes:
467
474
- ./default.yml:/tmp/defaults/default.yml
468
475
```
469
-
</p></details>
476
+
</details>
470
477
471
478
Execute the following to bring up your deployment:
Additionally, review the `docker-compose.yml` below to understand how linking Splunk instances together through roles and environment variables is accomplished:
483
-
<details><summary>docker-compose.yml</summary><p>
490
+
<details><summary>docker-compose.yml</summary>
484
491
485
-
```
492
+
```yaml
486
493
version: "3.6"
487
494
488
495
networks:
@@ -596,7 +603,7 @@ services:
596
603
volumes:
597
604
- ./default.yml:/tmp/defaults/default.yml
598
605
```
599
-
</p></details>
606
+
</details>
600
607
601
608
Execute the following to bring up your deployment:
Additionally, review the `docker-compose.yml` below to understand how linking Splunk instances together through roles and environment variables is accomplished:
613
-
<details><summary>docker-compose.yml</summary><p>
620
+
<details><summary>docker-compose.yml</summary>
614
621
615
-
```
622
+
```yaml
616
623
version: "3.6"
617
624
618
625
networks:
@@ -797,17 +804,17 @@ services:
797
804
volumes:
798
805
- ./default.yml:/tmp/defaults/default.yml
799
806
```
800
-
</p></details>
807
+
</details>
801
808
802
809
Execute the following to bring up your deployment:
803
810
```
804
811
$ docker-compose up -d
805
812
```
806
813
807
814
## Enable root endpoint on SplunkWeb
808
-
<details><summary>docker-compose.yml</summary><p>
815
+
<details><summary>docker-compose.yml</summary>
809
816
810
-
```
817
+
```yaml
811
818
version: "3.6"
812
819
813
820
services:
@@ -821,7 +828,7 @@ services:
821
828
ports:
822
829
- 8000
823
830
```
824
-
</p></details>
831
+
</details>
825
832
826
833
Execute the following to bring up your deployment:
827
834
```
@@ -831,9 +838,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
831
838
Then, visit SplunkWeb on your browser with the root endpoint in the URL, such as `http://localhost:8000/splunkweb`.
832
839
833
840
## Create sidecar forwarder
834
-
<details><summary>k8s-sidecar.yml</summary><p>
841
+
<details><summary>k8s-sidecar.yml</summary>
835
842
836
-
```
843
+
```yaml
837
844
apiVersion: v1
838
845
kind: Pod
839
846
metadata:
@@ -863,7 +870,7 @@ spec:
863
870
- name: shared-data
864
871
emptyDir: {}
865
872
```
866
-
</p></details>
873
+
</details>
867
874
868
875
Execute the following to bring up your deployment:
0 commit comments