Skip to content

Commit 4eda3ff

Browse files
authored
Merge branch 'develop' into docs/web-ssl
2 parents 63c745e + e3a7bc2 commit 4eda3ff

File tree

7 files changed

+62
-49
lines changed

7 files changed

+62
-49
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
command: make test_debian9_image_size
4545
- run:
4646
name: Running debian9 CI Tests
47-
command: make run_tests_debian9
47+
command: make run_tests_debian10
4848
no_output_timeout: 20m
4949
- store_artifacts:
5050
path: test-results

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SPLUNK_ANSIBLE_BRANCH ?= develop
77
SPLUNK_COMPOSE ?= cluster_absolute_unit.yaml
88
# Set Splunk version/build parameters here to define downstream URLs and file names
99
SPLUNK_PRODUCT := splunk
10-
SPLUNK_VERSION := 7.3.0
11-
SPLUNK_BUILD := 657388c7a488
10+
SPLUNK_VERSION := 7.3.1.1
11+
SPLUNK_BUILD := 7651b7244cf2
1212
ifeq ($(shell arch), s390x)
1313
SPLUNK_ARCH = s390x
1414
else

_config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
theme: jekyll-theme-modernist
1+
theme: jekyll-theme-modernist
2+
relative_links:
3+
enabled: true
4+
collections: true
5+
markdown: kramdown
6+
kramdown:
7+
parse_block_html: true

base/debian-10/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
3131
apt update
3232

3333
# put back tools for customer support
34-
apt-get install -y --no-install-recommends curl sudo libgssapi-krb5-2 busybox procps acl
34+
apt-get install -y --no-install-recommends curl sudo libgssapi-krb5-2 busybox procps acl gcc libssl-dev libffi-dev python2-dev
3535
apt-get install -y --no-install-recommends python-pip python-setuptools python-requests python-yaml
3636
pip --no-cache-dir install ansible
3737

base/redhat-8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal
2020
LABEL name="splunk" \
2121
maintainer="support@splunk.com" \
2222
vendor="splunk" \
23-
version="7.3.0" \
23+
version="7.3.1.1" \
2424
release="1" \
2525
summary="UBI 8 Docker image of Splunk Enterprise" \
2626
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."

docs/EXAMPLES.md

Lines changed: 49 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ $ docker run --name so1 --hostname so1 -p 8000:8000 -e "SPLUNK_PASSWORD=<passwor
3131
```
3232

3333
## Create standalone from compose
34-
<details><summary>docker-compose.yml</summary><p>
3534

36-
```
35+
<details><summary markdown="span">docker-compose.yml</summary>
36+
37+
```yaml
3738
version: "3.6"
3839

3940
services:
@@ -46,7 +47,7 @@ services:
4647
ports:
4748
- 8000
4849
```
49-
</p></details>
50+
</details>
5051
5152
Execute the following to bring up your deployment:
5253
```
@@ -56,9 +57,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
5657
## Create standalone with license
5758
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.
5859

59-
<details><summary>docker-compose.yml - license from URL</summary><p>
60+
<details><summary>docker-compose.yml - license from URL</summary>
6061

61-
```
62+
```yaml
6263
version: "3.6"
6364

6465
services:
@@ -72,11 +73,11 @@ services:
7273
ports:
7374
- 8000
7475
```
75-
</p></details>
76+
</details>
7677
77-
<details><summary>docker-compose.yml - license from file</summary><p>
78+
<details><summary>docker-compose.yml - license from file</summary>
7879
79-
```
80+
```yaml
8081
version: "3.6"
8182

8283
services:
@@ -92,7 +93,7 @@ services:
9293
volumes:
9394
- ./splunk.lic:/tmp/license/splunk.lic
9495
```
95-
</p></details>
96+
</details>
9697
9798
9899
Execute the following to bring up your deployment:
@@ -103,9 +104,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
103104
## Create standalone with HEC
104105
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).
105106

106-
<details><summary>docker-compose.yml</summary><p>
107+
<details><summary>docker-compose.yml</summary>
107108

108-
```
109+
```yaml
109110
version: "3.6"
110111

111112
services:
@@ -119,7 +120,7 @@ services:
119120
ports:
120121
- 8000
121122
```
122-
</p></details>
123+
</details>
123124
124125
Execute the following to bring up your deployment:
125126
```
@@ -133,9 +134,11 @@ $ curl -k https://localhost:8088/services/collector/event -H "Authorization: Spl
133134
```
134135

135136
## Create standalone with app
136-
<details><summary>docker-compose.yml</summary><p>
137+
Splunk apps can also be installed using this Docker image.
137138

138-
```
139+
<details><summary>docker-compose.yml</summary>
140+
141+
```yaml
139142
version: "3.6"
140143

141144
services:
@@ -149,17 +152,19 @@ services:
149152
ports:
150153
- 8000
151154
```
152-
</p></details>
155+
</details>
153156
154157
Execute the following to bring up your deployment:
155158
```
156159
$ SPLUNK_PASSWORD=<password> docker-compose up -d
157160
```
158161

159162
## Create standalone with SplunkBase app
160-
<details><summary>docker-compose.yml</summary><p>
163+
Apps showcased on SplunkBase can also be installed using this Docker image.
161164

162-
```
165+
<details><summary>docker-compose.yml</summary>
166+
167+
```yaml
163168
version: "3.6"
164169

165170
services:
@@ -175,7 +180,7 @@ services:
175180
ports:
176181
- 8000
177182
```
178-
</p></details>
183+
</details>
179184
180185
Execute the following to bring up your deployment:
181186
```
@@ -203,9 +208,11 @@ $ docker run --name so1 --hostname so1 -p 8000:8000 \
203208
```
204209

205210
## Create standalone and universal forwarder
206-
<details><summary>docker-compose.yml</summary><p>
211+
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.
207212

208-
```
213+
<details><summary>docker-compose.yml</summary>
214+
215+
```yaml
209216
version: "3.6"
210217

211218
networks:
@@ -246,7 +253,7 @@ services:
246253
- 8000
247254
- 8089
248255
```
249-
</p></details>
256+
</details>
250257
251258
Execute the following to bring up your deployment:
252259
```
@@ -256,9 +263,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
256263
## Create heavy forwarder
257264
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.
258265

259-
<details><summary>docker-compose.yml</summary><p>
266+
<details><summary>docker-compose.yml</summary>
260267

261-
```
268+
```yaml
262269
version: "3.6"
263270

264271
networks:
@@ -284,7 +291,7 @@ services:
284291
ports:
285292
- 1514
286293
```
287-
</p></details>
294+
</details>
288295
289296
Execute the following to bring up your deployment:
290297
```
@@ -294,9 +301,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
294301
## Create heavy forwarder and deployment server
295302
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.
296303

297-
<details><summary>docker-compose.yml</summary><p>
304+
<details><summary>docker-compose.yml</summary>
298305

299-
```
306+
```yaml
300307
version: "3.6"
301308

302309
networks:
@@ -337,7 +344,7 @@ services:
337344
- SPLUNK_APPS_URL=https://artifact.company.internal/splunk_app.tgz
338345
- SPLUNK_PASSWORD
339346
```
340-
</p></details>
347+
</details>
341348
342349
Execute the following to bring up your deployment:
343350
```
@@ -351,9 +358,9 @@ $ docker run -it -e SPLUNK_PASSWORD=<password> splunk/splunk:latest create-defau
351358
```
352359

353360
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>
355362

356-
```
363+
```yaml
357364
version: "3.6"
358365

359366
networks:
@@ -466,7 +473,7 @@ services:
466473
volumes:
467474
- ./default.yml:/tmp/defaults/default.yml
468475
```
469-
</p></details>
476+
</details>
470477
471478
Execute the following to bring up your deployment:
472479
```
@@ -480,9 +487,9 @@ $ docker run -it -e SPLUNK_PASSWORD=<password> splunk/splunk:latest create-defau
480487
```
481488

482489
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>
484491

485-
```
492+
```yaml
486493
version: "3.6"
487494

488495
networks:
@@ -596,7 +603,7 @@ services:
596603
volumes:
597604
- ./default.yml:/tmp/defaults/default.yml
598605
```
599-
</p></details>
606+
</details>
600607
601608
Execute the following to bring up your deployment:
602609
```
@@ -610,9 +617,9 @@ $ docker run -it -e SPLUNK_PASSWORD=<password> splunk/splunk:latest create-defau
610617
```
611618

612619
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>
614621

615-
```
622+
```yaml
616623
version: "3.6"
617624

618625
networks:
@@ -797,17 +804,17 @@ services:
797804
volumes:
798805
- ./default.yml:/tmp/defaults/default.yml
799806
```
800-
</p></details>
807+
</details>
801808
802809
Execute the following to bring up your deployment:
803810
```
804811
$ docker-compose up -d
805812
```
806813

807814
## Enable root endpoint on SplunkWeb
808-
<details><summary>docker-compose.yml</summary><p>
815+
<details><summary>docker-compose.yml</summary>
809816

810-
```
817+
```yaml
811818
version: "3.6"
812819

813820
services:
@@ -821,7 +828,7 @@ services:
821828
ports:
822829
- 8000
823830
```
824-
</p></details>
831+
</details>
825832
826833
Execute the following to bring up your deployment:
827834
```
@@ -831,9 +838,9 @@ $ SPLUNK_PASSWORD=<password> docker-compose up -d
831838
Then, visit SplunkWeb on your browser with the root endpoint in the URL, such as `http://localhost:8000/splunkweb`.
832839

833840
## Create sidecar forwarder
834-
<details><summary>k8s-sidecar.yml</summary><p>
841+
<details><summary>k8s-sidecar.yml</summary>
835842

836-
```
843+
```yaml
837844
apiVersion: v1
838845
kind: Pod
839846
metadata:
@@ -863,7 +870,7 @@ spec:
863870
- name: shared-data
864871
emptyDir: {}
865872
```
866-
</p></details>
873+
</details>
867874
868875
Execute the following to bring up your deployment:
869876
```

splunk/common-files/make-minimal-exclude.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/share/splunk/pdf*
3232
*mrsparkle*"""
3333

34-
m = re.match(".*splunk-([0-9]+)\.([0-9]+)\.[0-9]+-[0-9a-z]+-Linux-[0-9a-z_-]+.tgz", sys.argv[1])
34+
m = re.match(".*splunk-([0-9]+)\.([0-9]+)\.[0-9]+\.?[0-9]?-[0-9a-z]+-Linux-[0-9a-z_-]+.tgz", sys.argv[1])
3535

3636
if m and m.group(1):
3737
if m.group(1) == "7":

0 commit comments

Comments
 (0)