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:
51
53
```
@@ -55,9 +57,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
55
57
## Create standalone with license
56
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.
57
59
58
-
<details><summary>docker-compose.yml - license from URL</summary><p>
60
+
<details><summary>docker-compose.yml - license from URL</summary>
59
61
60
-
```
62
+
```yaml
61
63
version: "3.6"
62
64
63
65
services:
@@ -71,11 +73,11 @@ services:
71
73
ports:
72
74
- 8000
73
75
```
74
-
</p></details>
76
+
</details>
75
77
76
-
<details><summary>docker-compose.yml - license from file</summary><p>
78
+
<details><summary>docker-compose.yml - license from file</summary>
77
79
78
-
```
80
+
```yaml
79
81
version: "3.6"
80
82
81
83
services:
@@ -91,7 +93,7 @@ services:
91
93
volumes:
92
94
- ./splunk.lic:/tmp/license/splunk.lic
93
95
```
94
-
</p></details>
96
+
</details>
95
97
96
98
97
99
Execute the following to bring up your deployment:
@@ -102,9 +104,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
102
104
## Create standalone with HEC
103
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).
104
106
105
-
<details><summary>docker-compose.yml</summary><p>
107
+
<details><summary>docker-compose.yml</summary>
106
108
107
-
```
109
+
```yaml
108
110
version: "3.6"
109
111
110
112
services:
@@ -118,7 +120,7 @@ services:
118
120
ports:
119
121
- 8000
120
122
```
121
-
</p></details>
123
+
</details>
122
124
123
125
Execute the following to bring up your deployment:
Splunk apps can also be installed using this Docker image.
136
138
137
-
```
139
+
<details><summary>docker-compose.yml</summary>
140
+
141
+
```yaml
138
142
version: "3.6"
139
143
140
144
services:
@@ -148,17 +152,19 @@ services:
148
152
ports:
149
153
- 8000
150
154
```
151
-
</p></details>
155
+
</details>
152
156
153
157
Execute the following to bring up your deployment:
154
158
```
155
159
$ SPLUNK_PASSWORD=<password> docker-compose up -d
156
160
```
157
161
158
162
## Create standalone with SplunkBase app
159
-
<details><summary>docker-compose.yml</summary><p>
163
+
Apps showcased on SplunkBase can also be installed using this Docker image.
160
164
161
-
```
165
+
<details><summary>docker-compose.yml</summary>
166
+
167
+
```yaml
162
168
version: "3.6"
163
169
164
170
services:
@@ -174,17 +180,39 @@ services:
174
180
ports:
175
181
- 8000
176
182
```
177
-
</p></details>
183
+
</details>
178
184
179
185
Execute the following to bring up your deployment:
180
186
```
181
187
$ SPLUNKBASE_PASSWORD=<splunkbase_password> SPLUNK_PASSWORD=<password> docker-compose up -d
182
188
```
183
189
184
-
## Create standalone and universal forwarder
185
-
<details><summary>docker-compose.yml</summary><p>
190
+
## Create standalone with SSL enabled
191
+
192
+
To enable SSL over SplunkWeb, you'll first need to generate your self-signed certificates. Please see the [Splunk docs](https://docs.splunk.com/Documentation/Splunk/latest/Security/Self-signcertificatesforSplunkWeb) on how to go about doing this. For the purposes of local development, you can use:
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.
212
+
213
+
<details><summary>docker-compose.yml</summary>
214
+
215
+
```yaml
188
216
version: "3.6"
189
217
190
218
networks:
@@ -225,7 +253,7 @@ services:
225
253
- 8000
226
254
- 8089
227
255
```
228
-
</p></details>
256
+
</details>
229
257
230
258
Execute the following to bring up your deployment:
231
259
```
@@ -235,9 +263,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
235
263
## Create heavy forwarder
236
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.
237
265
238
-
<details><summary>docker-compose.yml</summary><p>
266
+
<details><summary>docker-compose.yml</summary>
239
267
240
-
```
268
+
```yaml
241
269
version: "3.6"
242
270
243
271
networks:
@@ -263,7 +291,7 @@ services:
263
291
ports:
264
292
- 1514
265
293
```
266
-
</p></details>
294
+
</details>
267
295
268
296
Execute the following to bring up your deployment:
269
297
```
@@ -273,9 +301,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
273
301
## Create heavy forwarder and deployment server
274
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:
333
-
<details><summary>docker-compose.yml</summary><p>
361
+
<details><summary>docker-compose.yml</summary>
334
362
335
-
```
363
+
```yaml
336
364
version: "3.6"
337
365
338
366
networks:
@@ -445,7 +473,7 @@ services:
445
473
volumes:
446
474
- ./default.yml:/tmp/defaults/default.yml
447
475
```
448
-
</p></details>
476
+
</details>
449
477
450
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:
462
-
<details><summary>docker-compose.yml</summary><p>
490
+
<details><summary>docker-compose.yml</summary>
463
491
464
-
```
492
+
```yaml
465
493
version: "3.6"
466
494
467
495
networks:
@@ -575,7 +603,7 @@ services:
575
603
volumes:
576
604
- ./default.yml:/tmp/defaults/default.yml
577
605
```
578
-
</p></details>
606
+
</details>
579
607
580
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:
592
-
<details><summary>docker-compose.yml</summary><p>
620
+
<details><summary>docker-compose.yml</summary>
593
621
594
-
```
622
+
```yaml
595
623
version: "3.6"
596
624
597
625
networks:
@@ -776,17 +804,17 @@ services:
776
804
volumes:
777
805
- ./default.yml:/tmp/defaults/default.yml
778
806
```
779
-
</p></details>
807
+
</details>
780
808
781
809
Execute the following to bring up your deployment:
782
810
```
783
811
$ docker-compose up -d
784
812
```
785
813
786
814
## Enable root endpoint on SplunkWeb
787
-
<details><summary>docker-compose.yml</summary><p>
815
+
<details><summary>docker-compose.yml</summary>
788
816
789
-
```
817
+
```yaml
790
818
version: "3.6"
791
819
792
820
services:
@@ -800,7 +828,7 @@ services:
800
828
ports:
801
829
- 8000
802
830
```
803
-
</p></details>
831
+
</details>
804
832
805
833
Execute the following to bring up your deployment:
806
834
```
@@ -810,9 +838,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
810
838
Then, visit SplunkWeb on your browser with the root endpoint in the URL, such as `http://localhost:8000/splunkweb`.
811
839
812
840
## Create sidecar forwarder
813
-
<details><summary>k8s-sidecar.yml</summary><p>
841
+
<details><summary>k8s-sidecar.yml</summary>
814
842
815
-
```
843
+
```yaml
816
844
apiVersion: v1
817
845
kind: Pod
818
846
metadata:
@@ -842,7 +870,7 @@ spec:
842
870
- name: shared-data
843
871
emptyDir: {}
844
872
```
845
-
</p></details>
873
+
</details>
846
874
847
875
Execute the following to bring up your deployment:
#Container Artifact Directory is a place for all artifacts and logs that are generated by the provisioning process. The directory is owned by the user "ansible".
105
+
&& echo 'Container Artifact Directory is a place for all artifacts and logs that are generated by the provisioning process. The directory is owned by the user "ansible".' \
0 commit comments