Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/tests_basics_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,12 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tcp_port: 1514
- name: forwards_facility_only
type: forwards
facility: local2
target: host.domain
target: host@domain
tcp_port: 2514
- name: custom_template
type: files
Expand Down Expand Up @@ -347,7 +347,7 @@
ruleset(name="forwards_severity_and_facility") {
local1.info action(name="forwards_severity_and_facility"
type="omfwd"
Target="host.domain"
Target="host@domain"
Port="1514"
Protocol="tcp"
Template="RSYSLOG_ForwardFormat"
Expand Down
36 changes: 18 additions & 18 deletions tests/tests_basics_forwards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tcp_port: 1514
template: syslog
queue:
Expand All @@ -74,27 +74,27 @@
- name: forwards_facility_only
type: forwards
facility: local2
target: host.domain
target: host@domain
tcp_port: 2514
- name: forwards_severity_only
type: forwards
severity: err
target: host.domain
target: host@domain
tcp_port: 3514
- name: forwards_no_severity_and_facility
type: forwards
target: host.domain
target: host@domain
tcp_port: 4514
- name: forwards_no_severity_and_facility_udp
type: forwards
target: host.domain
target: host@domain
udp_port: 6514
- name: forwards_no_severity_and_facility_protocol_port
type: forwards
target: host.domain
target: host@domain
- name: forwards_no_severity_and_facility_protocol_port_target
type: forwards
target: host.domain
target: host@domain
- target: no_name.localdomain
type: forwards
logging_inputs:
Expand Down Expand Up @@ -153,7 +153,7 @@
ruleset(name="forwards_severity_and_facility") {
local1.info action(name="forwards_severity_and_facility"
type="omfwd"
Target="host.domain"
Target="host@domain"
Port="1514"
Protocol="tcp"
Template="{{ __test_template_sys }}"
Expand All @@ -176,7 +176,7 @@
ruleset(name="forwards_facility_only") {
local2.* action(name="forwards_facility_only"
type="omfwd"
Target="host.domain"
Target="host@domain"
Port="2514"
Protocol="tcp"
Template="{{ __test_template }}"
Expand All @@ -195,7 +195,7 @@
ruleset(name="forwards_severity_only") {
*.err action(name="forwards_severity_only"
type="omfwd"
Target="host.domain"
Target="host@domain"
Port="3514"
Protocol="tcp"
Template="{{ __test_template }}"
Expand All @@ -214,7 +214,7 @@
ruleset(name="forwards_no_severity_and_facility") {
*.* action(name="forwards_no_severity_and_facility"
type="omfwd"
Target="host.domain"
Target="host@domain"
Port="4514"
Protocol="tcp"
Template="{{ __test_template }}"
Expand All @@ -233,7 +233,7 @@
ruleset(name="forwards_no_severity_and_facility_udp") {
*.* action(name="forwards_no_severity_and_facility_udp"
type="omfwd"
Target="host.domain"
Target="host@domain"
Port="6514"
Protocol="udp"
Template="{{ __test_template }}"
Expand All @@ -253,7 +253,7 @@
ruleset(name="forwards_no_severity_and_facility_protocol_port") {
*.* action(name="forwards_no_severity_and_facility_protocol_port"
type="omfwd"
Target="host.domain"
Target="host@domain"
Template="{{ __test_template }}"
)
}
Expand Down Expand Up @@ -323,7 +323,7 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tcp_port: 1514
tls: true
pki_authmode: anon
Expand Down Expand Up @@ -362,7 +362,7 @@
ruleset(name="forwards_severity_and_facility") {
local1.info action(name="forwards_severity_and_facility"
type="omfwd"
Target="host.domain"
Target="host@domain"
StreamDriver="gtls"
StreamDriverMode="1"
StreamDriverAuthMode="anon"
Expand Down Expand Up @@ -430,7 +430,7 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tcp_port: 1514
tls: true
permitted_server: '*.example.com'
Expand Down Expand Up @@ -468,7 +468,7 @@
ruleset(name="forwards_severity_and_facility") {
local1.info action(name="forwards_severity_and_facility"
type="omfwd"
Target="host.domain"
Target="host@domain"
StreamDriver="gtls"
StreamDriverMode="1"
StreamDriverAuthMode="x509/name"
Expand Down Expand Up @@ -543,7 +543,7 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tls: true
tcp_port: 1514
logging_inputs:
Expand Down
20 changes: 10 additions & 10 deletions tests/tests_combination.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tcp_port: 1514
- name: forwards_facility_only
type: forwards
facility: local2
target: host.domain
target: host@domain
tcp_port: 2514
logging_inputs:
- name: "{{ __test_tag }}"
Expand Down Expand Up @@ -148,7 +148,7 @@
ruleset(name="forwards_severity_and_facility") {
local1.info action(name="forwards_severity_and_facility"
type="omfwd"
Target="host.domain"
Target="host@domain"
Port="1514"
Protocol="tcp"
Template="RSYSLOG_ForwardFormat"
Expand Down Expand Up @@ -259,12 +259,12 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tcp_port: 1514
- name: forwards_facility_only
type: forwards
facility: local2
target: host.domain
target: host@domain
tcp_port: 2514
logging_inputs:
- name: basic_input
Expand Down Expand Up @@ -341,7 +341,7 @@
ruleset(name="forwards_severity_and_facility") {
local1.info action(name="forwards_severity_and_facility"
type="omfwd"
Target="host.domain"
Target="host@domain"
Port="1514"
Protocol="tcp"
Template="RSYSLOG_ForwardFormat"
Expand Down Expand Up @@ -427,12 +427,12 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tcp_port: 1514
- name: forwards_facility_only
type: forwards
facility: local2
target: host.domain
target: host@domain
tcp_port: 2514
logging_inputs:
- name: basic_input
Expand Down Expand Up @@ -514,13 +514,13 @@
type: forwards
facility: local1
severity: info
target: host.domain
target: host@domain
tcp_port: 1514
state: absent
- name: forwards_facility_only
type: forwards
facility: local2
target: host.domain
target: host@domain
tcp_port: 2514
state: absent
logging_inputs:
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_relp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
type: files
- name: forwards_output
type: forwards
target: host.domain
target: host@domain
tcp_port: 1514
logging_flows:
- name: flows
Expand Down
Loading