Skip to content

Commit

Permalink
Merge branch 'develop' into fix-nullqueue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Faircloth authored and GitHub committed Apr 8, 2020
2 parents 1f62514 + 3781643 commit a1491d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package/etc/conf.d/filters/checkpoint/splunk.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
filter f_checkpoint_splunk {
match('\|(?:origin_sic_name|originsicname)\=[cC][nN]|\|product\=SmartConsole\|' value("MSG") type("pcre")) or
match('\|(?:origin_sic_name|originsicname)\=[cC][nN]|\|product\=SmartConsole\|' value("LEGACY_MSGHDR") type("pcre")) or
match('|product\=Syslog\|ifdir=inbound\|loguid\=' value("MSG") type("pcre")) or
match('|product\=Syslog\|ifdir=inbound\|loguid\=' value("LEGACY_MSGHDR") type("pcre"));
match('*|product=Syslog|ifdir=inbound|loguid=*' value("MSG") type("glob")) or
match('*|product=Syslog|ifdir=inbound|loguid=*' value("LEGACY_MSGHDR") type("glob"));
};

filter f_checkpoint_splunk_alerts {
Expand Down
2 changes: 1 addition & 1 deletion package/etc/go_templates/source_network.t
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ source s_{{ .port_id }} {
source {
{{- if or (getenv (print "SC4S_LISTEN_" .port_id "_UDP_PORT")) (eq .port_id "DEFAULT") }}
{{- $port_id := .port_id }}
{{- range (math.Seq (getenv "SC4S_SOURCE_LISTEN_UDP_SOCKETS" "5"))}}
{{- range (math.Seq (getenv "SC4S_SOURCE_LISTEN_UDP_SOCKETS" "1"))}}
{{- $context := dict "instance" . "port_id" $port_id }}
{{- template "UDP" $context }}
{{- end}}
Expand Down
2 changes: 1 addition & 1 deletion package/sbin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ echo sc4s version=$(cat /VERSION) >/opt/syslog-ng/var/log/syslog-ng.out
echo syslog-ng starting
/opt/syslog-ng/bin/persist-tool add /opt/syslog-ng/etc/reset_persist -o /opt/syslog-ng/var

/opt/syslog-ng/sbin/syslog-ng -F $@ &
/opt/syslog-ng/sbin/syslog-ng $@ &
pid="$!"
# wait forever
while true
Expand Down

0 comments on commit a1491d5

Please sign in to comment.