Skip to content

Commit 5655e0f

Browse files
pbuskonicolasbender
authored andcommitted
update job spec and template
Co-authored-by: Nicolas Bender <[email protected]> Co-authored-by: Pavel Busko <[email protected]>
1 parent 738b7f1 commit 5655e0f

File tree

8 files changed

+72
-9
lines changed

8 files changed

+72
-9
lines changed

jobs/log-cache-syslog-server/spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ properties:
3838
syslog_trim_message_whitespace:
3939
description: "Defines if the leading and trailing whitespace in the Syslog log messages should be trimmed"
4040
default: true
41+
syslog_non_transparent_framing:
42+
description: "Defines if the non-transparent framing technique should be used for parsing the Syslog messages"
43+
default: false
4144

4245
syslog_client_ca_cert:
4346
description: The CA certificate for key/cert verification.

jobs/log-cache-syslog-server/templates/bpm.yml.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ processes:
1717
SYSLOG_PORT: "<%= p('syslog_port') %>"
1818
SYSLOG_IDLE_TIMEOUT: "<%= p('syslog_idle_timeout') %>"
1919
SYSLOG_TRIM_MESSAGE_WHITESPACE: "<%= p('syslog_trim_message_whitespace') %>"
20+
SYSLOG_NON_TRANSPARENT_FRAMING: "<%= p('syslog_non_transparent_framing') %>"
2021

2122
SYSLOG_TLS_CERT_PATH: "<%= "#{certDir}/syslog.crt" %>"
2223
SYSLOG_TLS_KEY_PATH: "<%= "#{certDir}/syslog.key" %>"

src/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ require (
5555
github.com/golang/snappy v1.0.0 // indirect
5656
github.com/google/go-cmp v0.7.0 // indirect
5757
github.com/google/pprof v0.0.0-20250423184734-337e5dd93bb4 // indirect
58+
github.com/leodido/ragel-machinery v0.0.0-20190525184631-5f46317e436b // indirect
5859
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect
5960
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6061
github.com/oklog/ulid v1.3.1 // indirect

src/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0
289289
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
290290
github.com/leodido/go-syslog/v4 v4.2.0 h1:A7vpbYxsO4e2E8udaurkLlxP5LDpDbmPMsGnuhb7jVk=
291291
github.com/leodido/go-syslog/v4 v4.2.0/go.mod h1:eJ8rUfDN5OS6dOkCOBYlg2a+hbAg6pJa99QXXgMrd98=
292+
github.com/leodido/ragel-machinery v0.0.0-20190525184631-5f46317e436b h1:11UHH39z1RhZ5dc4y4r/4koJo6IYFgTRMe/LlwRTEw0=
293+
github.com/leodido/ragel-machinery v0.0.0-20190525184631-5f46317e436b/go.mod h1:WZxr2/6a/Ar9bMDc2rN/LJrE/hF6bXE4LPyDSIxwAfg=
292294
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 h1:PpXWgLPs+Fqr325bN2FD2ISlRRztXibcX6e8f5FR5Dc=
293295
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35/go.mod h1:autxFIvghDt3jPTLoqZ9OZ7s9qTGNAWmYCjVFWPX/zg=
294296
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=

src/vendor/github.com/influxdata/go-syslog/v3/nontransparent/parser.go renamed to src/vendor/github.com/leodido/go-syslog/v4/nontransparent/parser.go

Lines changed: 29 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/vendor/github.com/influxdata/go-syslog/v3/nontransparent/parser.go.rl renamed to src/vendor/github.com/leodido/go-syslog/v4/nontransparent/parser.go.rl

Lines changed: 31 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/vendor/github.com/influxdata/go-syslog/v3/nontransparent/trailer_type.go renamed to src/vendor/github.com/leodido/go-syslog/v4/nontransparent/trailer_type.go

File renamed without changes.

src/vendor/modules.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,14 @@ github.com/grpc-ecosystem/grpc-gateway/v2/utilities
129129
## explicit; go 1.21
130130
github.com/leodido/go-syslog/v4
131131
github.com/leodido/go-syslog/v4/common
132+
github.com/leodido/go-syslog/v4/nontransparent
132133
github.com/leodido/go-syslog/v4/octetcounting
133134
github.com/leodido/go-syslog/v4/rfc3164
134135
github.com/leodido/go-syslog/v4/rfc5424
136+
# github.com/leodido/ragel-machinery v0.0.0-20190525184631-5f46317e436b
137+
## explicit
138+
github.com/leodido/ragel-machinery
139+
github.com/leodido/ragel-machinery/parser
135140
# github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35
136141
## explicit; go 1.21
137142
github.com/lufia/plan9stats

0 commit comments

Comments
 (0)