Skip to content

Commit

Permalink
Unique persist-names
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Apr 2, 2020
1 parent 2487050 commit 5ccc40e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
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 @@ -2,7 +2,7 @@
syslog (
transport("udp")
so-reuseport(1)
persist-name("udp{{.instance}}")
persist-name("{{.port_id}}{{.instance}}")
port({{ getenv (print "SC4S_LISTEN_" .port_id "_UDP_PORT") "514" }})
ip-protocol(4)
so-rcvbuf({{getenv "SC4S_SOURCE_UDP_SO_RCVBUFF" "1703936"}})
Expand Down
6 changes: 6 additions & 0 deletions tests/docker-compose-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ services:
- SC4S_LISTEN_JUNIPER_IDP_TCP_PORT=5004
- SC4S_LISTEN_PALOALTO_PANOS_TCP_PORT=5005
- SC4S_LISTEN_PFSENSE_TCP_PORT=5006
- SC4S_LISTEN_CISCO_ASA_UDP_PORT=5001
- SC4S_LISTEN_CISCO_IOS_UDP_PORT=5002
- SC4S_LISTEN_CISCO_MERAKI_UDP_PORT=5003
- SC4S_LISTEN_JUNIPER_IDP_UDP_PORT=5004
- SC4S_LISTEN_PALOALTO_PANOS_UDP_PORT=5005
- SC4S_LISTEN_PFSENSE_UDP_PORT=5006
- SC4S_ARCHIVE_GLOBAL=no
splunk:
build:
Expand Down
6 changes: 6 additions & 0 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ services:
- SC4S_LISTEN_JUNIPER_IDP_TCP_PORT=5004
- SC4S_LISTEN_PALOALTO_PANOS_TCP_PORT=5005
- SC4S_LISTEN_PFSENSE_TCP_PORT=5006
- SC4S_LISTEN_CISCO_ASA_UDP_PORT=5001
- SC4S_LISTEN_CISCO_IOS_UDP_PORT=5002
- SC4S_LISTEN_CISCO_MERAKI_UDP_PORT=5003
- SC4S_LISTEN_JUNIPER_IDP_UDP_PORT=5004
- SC4S_LISTEN_PALOALTO_PANOS_UDP_PORT=5005
- SC4S_LISTEN_PFSENSE_UDP_PORT=5006
- SC4S_ARCHIVE_GLOBAL=no
- SC4S_SOURCE_STORE_RAWMSG=yes
splunk:
Expand Down

0 comments on commit 5ccc40e

Please sign in to comment.