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-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,10 @@
16
16
# the container catalog moved from registry.access.redhat.com to registry.redhat.io
17
17
# So at some point before they deprecate the old registry we have to make sure that
18
18
# we have access to the new registry and change where we pull the ubi image from.
19
-
FROM registry.access.redhat.com/ubi8/ubi-minimal
19
+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.0-213
20
20
LABEL name="splunk" \
21
21
maintainer="support@splunk.com" \
22
22
vendor="splunk" \
23
-
version="8.0.0" \
24
23
release="1" \
25
24
summary="UBI 8 Docker image of Splunk Enterprise" \
26
25
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."
Copy file name to clipboardExpand all lines: docs/ADVANCED.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -242,28 +242,28 @@ To build images directly from this repository, there is a supplied `Makefile` in
242
242
```
243
243
3. Run all the tests to verify your environment
244
244
```
245
-
$ make splunk-debian-9
246
-
$ make uf-debian-9
245
+
$ make splunk-redhat-8
246
+
$ make uf-redhat-8
247
247
```
248
248
249
-
Additionally, there are multiple images and layers that are produced by the previous commands: `base-debian-9`, `splunk-debian-9`, and `uf-debian-9`.
249
+
Additionally, there are multiple images and layers that are produced by the previous commands: `base-redhat-8`, `splunk-redhat-8`, and `uf-redhat-8`.
250
250
251
-
#### base-debian-9
252
-
The directory `base/debian-9` contains a Dockerfile to create a base image on top of which all the other images are built. In order to minimize image size and provide a stable foundation for other images to build on, we elected to use `debian:stretch-slim` (55MB) for our base image. In the future, we plan to add support for additional operating systems.
251
+
#### base-redhat-8
252
+
The directory `base-redhat-8` contains a Dockerfile to create a base image on top of which all the other images are built. In order to minimize image size and provide a stable foundation for other images to build on, we elected to use `registry.access.redhat.com/ubi8/ubi-minimal:8.0` (90MB) for our base image. In the future, we plan to add support for additional operating systems.
253
253
```
254
-
$ make base-debian-9
254
+
$ make base-redhat-8
255
255
```
256
256
257
257
**WARNING:** Modifications made to the "base" image can result in Splunk being unable to start or run correctly.
258
258
259
-
#### splunk-debian-9
260
-
The directory `splunk/debian-9` contains a Dockerfile that extends the base image by installing Splunk and adding tools for provisioning. Advanced Splunk provisioning capabilities are provided through the utilization of an entrypoint script and playbooks published separately via the [splunk-ansible project](https://github.com/splunk/splunk-ansible).
259
+
#### splunk-redhat-8
260
+
The directory `splunk/common-files` contains a Dockerfile that extends the base image by installing Splunk and adding tools for provisioning. Advanced Splunk provisioning capabilities are provided through the utilization of an entrypoint script and playbooks published separately via the [splunk-ansible project](https://github.com/splunk/splunk-ansible).
261
261
```
262
-
$ make splunk-debian-9
262
+
$ make splunk-redhat-8
263
263
```
264
264
265
-
#### uf-debian-9
266
-
The directory `uf/debian-9` contains a Dockerfile that extends the base image by installing Splunk Universal Forwarder and adding tools for provisioning. This image is similar to the Splunk Enterprise image (`splunk-debian-9`), except the more lightweight Splunk Universal Forwarder package is installed instead.
265
+
#### uf-redhat-8
266
+
The directory `uf/common-files` contains a Dockerfile that extends the base image by installing Splunk Universal Forwarder and adding tools for provisioning. This image is similar to the Splunk Enterprise image (`splunk-redhat-8`), except the more lightweight Splunk Universal Forwarder package is installed instead.
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:
[Splunk Free](https://docs.splunk.com/Documentation/Splunk/latest/Admin/MoreaboutSplunkFree) is the totally free version of Splunk software. The Free license lets you index up to 500 MB per day and will never expire.
212
+
213
+
Execute the following to bring up a Splunk Free standalone environment:
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.
Copy file name to clipboardExpand all lines: docs/advanced/APP_INSTALL.md
+2-18Lines changed: 2 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
## Installing Splunk Apps and Add-ons
2
2
Splunk's Docker image supports the ability to dynamically install any Splunk-compliant app or add-on. These can be certified apps that are hosted through [SplunkBase](https://splunkbase.splunk.com/) or they might be local apps you have developed yourself.
3
3
4
-
App installation can be done a variety of ways: either through a file/directory volume-mounted inside the container, or through an external URL for dynamic downloads. Nothing is required for the former, and the enviroment variable `SPLUNK_APPS_URL` supports the later.
4
+
App installation can be done a variety of ways: either through a file/directory volume-mounted inside the container, or through an external URL for dynamic downloads. Nothing is required for the former, and the enviroment variable `SPLUNK_APPS_URL` supports the latter.
5
5
6
6
**NOTE:** Installation of Splunk Enterprise Security (ES) and Splunk IT Service Intelligence (ITSI) is currently not supported with this image. Please contact Splunk Services for more information on using these applications with Splunk Enterprise in a container.
*[Apps in distributed environments](#apps-in-distributed-environments)
14
14
15
15
## Volume-mount app directory
@@ -34,7 +34,6 @@ In most cases, you're likely hosting the app as a tar file somewhere accessible
34
34
35
35
#### SplunkBase apps
36
36
Please refer to this docker-compose.yml file for how to download SplunkBase apps with authentication:
37
-
<details><summary>docker-compose.yml</summary><p>
38
37
39
38
```
40
39
version: "3.6"
@@ -52,11 +51,9 @@ services:
52
51
ports:
53
52
- 8000
54
53
```
55
-
</p></details>
56
54
57
55
#### Self-hosted apps
58
56
Please refer to this docker-compose.yml file for how to download any app hosted at an arbitrary location:
59
-
<details><summary>docker-compose.yml</summary><p>
60
57
61
58
```
62
59
version: "3.6"
@@ -72,13 +69,11 @@ services:
72
69
ports:
73
70
- 8000
74
71
```
75
-
</p></details>
76
72
77
73
#### Apps on filesystem
78
74
If you build your own image on top of the `splunk/splunk` or `splunk/universalforwarder` image, it's possible you may embedd a tar file of an app inside. Or, you can go with the bind-mount volume approach and inject a tar file on container run time. In either case, it's still possible to install an app from this file on the container's filesystem with the following.
79
75
80
76
Please refer to this docker-compose.yml file for how to install an app in the container's filesystem:
81
-
<details><summary>docker-compose.yml</summary><p>
82
77
83
78
```
84
79
version: "3.6"
@@ -94,13 +89,11 @@ services:
94
89
ports:
95
90
- 8000
96
91
```
97
-
</p></details>
98
92
99
93
## Multiple apps
100
94
As one would expect, Splunk can and should support downloading any combination or series of apps. This can be incredibly useful when cross-referencing data from various sources.
101
95
102
96
The `SPLUNK_APPS_URL` supports multiple apps, as long as they are comma-separated. Plase refer to this docker-compose.yml file for how to install multiple apps:
103
-
<details><summary>docker-compose.yml</summary><p>
104
97
105
98
```
106
99
version: "3.6"
@@ -118,15 +111,12 @@ services:
118
111
ports:
119
112
- 8000
120
113
```
121
-
</p></details>
122
114
123
115
## Apps in distributed environments
124
116
This docker image also deploys apps when running Splunk in distributed environments. There are, however, special cases and instructions for how apps get deployed in these scenarios.
125
117
126
118
In the case of multiple search heads (no clustering) and multiple indexers (no clustering), you will explicitly need to tell each container what apps to install by defining a `SPLUNK_APPS_URL` for each role. See the example below and note the different apps used for search heads and indexers:
127
119
128
-
<details><summary>2idx2sh.yml</summary><p>
129
-
130
120
```
131
121
version: "3.6"
132
122
@@ -212,11 +202,9 @@ services:
212
202
ports:
213
203
- 8000
214
204
```
215
-
</p></details>
216
205
217
206
In the case of search head clusters, you will explicitly need to tell the `splunk_deployer` what apps to install by defining a `SPLUNK_APPS_URL` for that particular role. The deployer will manage the distribution of apps to each of the search head cluster members (search heads). See the example below and note the different apps used for search heads and indexers:
218
207
219
-
<details><summary>1dep3sh2idx.yml</summary><p>
220
208
221
209
```
222
210
version: "3.6"
@@ -342,12 +330,9 @@ services:
342
330
ports:
343
331
- 8000
344
332
```
345
-
</p></details>
346
333
347
334
In the case of indexer clusters, you will explicitly need to tell the `splunk_cluster_master` what apps to install by defining a `SPLUNK_APPS_URL` for that particular role. The cluster master will manage the distribution of apps to each of the indexer cluster members (indexers). See the example below and note the different apps used for search heads and indexers:
Not to be confused with an actual free Splunk enterprise license, but [Splunk Free](https://docs.splunk.com/Documentation/Splunk/latest/Admin/MoreaboutSplunkFree) is a product offering that enables the power of Splunk with a never-expiring but ingest-limited license. By default, when you create a Splunk environment using this Docker container, it will enable a Splunk Trial license which is good for 30 days from the start of your instance. With Splunk Free, you can create a full developer environment of Splunk for any personal, sustained usage.
100
+
101
+
To bring up a single instance using Splunk Free, you can run the following command:
When starting up a distributed Splunk deployment, it may be inefficient for each Splunk instance to apply/fetch the same license. Luckily, there is a dedicated Splunk role for this - `splunk_license_master`. For more information on what this role is, please refer to Splunk documentation on [license masters](https://docs.splunk.com/Documentation/Splunk/latest/Admin/Configurealicensemaster).
0 commit comments