Skip to content

Commit 663e89d

Browse files
committed
Added additional configs for the Postgres performance extra scenario
1 parent 1ffe6f0 commit 663e89d

File tree

5 files changed

+35
-8
lines changed

5 files changed

+35
-8
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
REM # $flbBookRootDir - see Appendix A for configuration
2+
docker run -ti --init -v .:/vol/log -v %flbBookRootDir%/chapter5/SimulatorConfig/:/vol/conf -v %flbBookRootDir%/TestData/:/vol/test-data --env run_props=volume.properties --env data=medium-source.txt mp3monster/flb-logsim
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# $flbBookRootDir - see Appendix A for configuration
2+
docker run -ti --init -v .:/vol/log -v $flbBookRootDir/chapter5/SimulatorConfig/:/vol/conf -v $flbBookRootDir/TestData/:/vol/test-data --env run_props=volume.properties --env data=medium-source.txt mp3monster/flb-logsim

chapter5/SimulatorConfig/volume.properties

Whitespace-only changes.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[SERVICE]
2+
flush 1
3+
log_level error
4+
5+
[INPUT]
6+
name http
7+
listen 0.0.0.0
8+
port 9881
9+
tag input1
10+
11+
[OUTPUT]
12+
name pgsql
13+
match *
14+
host localhost
15+
port 5455
16+
user postgresUser
17+
password postgresPW
18+
database postgres
19+
table fluentbit
20+
timestamp_key ts
21+
min_pool_size 5
22+
max_pool_size 50
23+
#option to add workers

chapter5/fluentbit/tls-forwarding.conf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
[OUTPUT]
1212
match *
13-
shared_key
14-
empty_shared_key
15-
self_hostname
16-
tls
17-
tls.verify
18-
tls.ca_file
19-
tls.crt_file
20-
tls.key_file
13+
name http
14+
shared_key your-shared-key
15+
empty_shared_key: empty shared key
16+
self_hostname localhost
17+
tls.verify false
18+
tls.ca_file you.ca_file
19+
tls.crt_file your.crt_file
20+
tls.key_file your.key_file

0 commit comments

Comments
 (0)