Skip to content

Commit

Permalink
chore(soaks): Fix syslog soaks (vectordotdev#12974)
Browse files Browse the repository at this point in the history
They were attempting to double parse the input as syslog.

Closes: vectordotdev#12847

Signed-off-by: Jesse Szwedko <[email protected]>
  • Loading branch information
jszwedko authored Jun 3, 2022
1 parent 995b2fc commit 45fe005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 1 addition & 8 deletions soaks/tests/syslog_log2metric_humio_metrics/vector.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,9 @@ mode = "tcp"
## Transforms
##

[transforms.remap]
type = "remap"
inputs = ["syslog"]
source = """
. = parse_syslog!(.message)
"""

[transforms.log2metric]
type = "log_to_metric"
inputs = ["remap"]
inputs = ["syslog"]

[[transforms.log2metric.metrics]]
type = "gauge"
Expand Down
9 changes: 1 addition & 8 deletions soaks/tests/syslog_log2metric_splunk_hec_metrics/vector.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,9 @@ mode = "tcp"
## Transforms
##

[transforms.remap]
type = "remap"
inputs = ["syslog"]
source = """
. = parse_syslog!(.message)
"""

[transforms.log2metric]
type = "log_to_metric"
inputs = ["remap"]
inputs = ["syslog"]

[[transforms.log2metric.metrics]]
type = "gauge"
Expand Down

0 comments on commit 45fe005

Please sign in to comment.