File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ #
4
+ # This script is used to test the config syntax of the 50-filter-postfix.conf file.
5
+ #
6
+ # The configuration file is validated using the logstash --config.test_and_exit command in a docker container.
7
+ #
8
+
3
9
set -eux
4
10
5
11
docker run --rm -it \
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ #
4
+ # This script is used to test the grok patterns in the postfix.grok file.
5
+ #
6
+ # The patterns are tested by running the test suite (in test/test.rb and test/*.yaml)
7
+ # against the patterns in the postfix.grok file in a docker container.
8
+ #
3
9
set -eux
4
10
5
11
DOCKERIMAGE=" postfix-grok-patterns-runtests"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ #
4
+ # This script is used to test the logstash pipeline configuration.
5
+ #
6
+ # It sets up a logstash pipeline with the postfix configuration,
7
+ # sends a test logline through the pipeline and checks the results.
8
+ #
9
+
3
10
set -eux
4
11
5
12
INPUT=$( mktemp tmp.logstash.in.XXXXX)
You can’t perform that action at this time.
0 commit comments