Skip to content
Open
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
4 changes: 4 additions & 0 deletions .github/workflows/changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ on:
value: ${{ jobs.int_tests.outputs.redis }}
splunk:
value: ${{ jobs.int_tests.outputs.splunk }}
syslog:
value: ${{ jobs.int_tests.outputs.syslog }}
webhdfs:
value: ${{ jobs.int_tests.outputs.webhdfs }}
# e2e tests
Expand Down Expand Up @@ -404,6 +406,7 @@ jobs:
pulsar: ${{ steps.filter.outputs.pulsar }}
redis: ${{ steps.filter.outputs.redis }}
splunk: ${{ steps.filter.outputs.splunk }}
syslog: ${{ steps.filter.outputs.syslog }}
webhdfs: ${{ steps.filter.outputs.webhdfs }}
any: ${{ steps.detect-changes.outputs.any }}
steps:
Expand Down Expand Up @@ -470,6 +473,7 @@ jobs:
"pulsar": ${{ steps.filter.outputs.pulsar }},
"redis": ${{ steps.filter.outputs.redis }},
"splunk": ${{ steps.filter.outputs.splunk }},
"syslog": ${{ steps.filter.outputs.syslog }},
"webhdfs": ${{ steps.filter.outputs.webhdfs }}
}
EOF
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-integration-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
"pulsar",
"redis",
"splunk",
"syslog",
"webhdfs"
]
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ jobs:
"pulsar",
"redis",
"splunk",
"syslog",
"webhdfs"
]
timeout-minutes: 90
Expand Down
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ sinks-logs = [
"sinks-sematext",
"sinks-socket",
"sinks-splunk_hec",
"sinks-syslog",
"sinks-vector",
"sinks-webhdfs",
"sinks-websocket",
Expand Down Expand Up @@ -1011,6 +1012,7 @@ sinks-sematext = ["sinks-elasticsearch", "sinks-influxdb"]
sinks-socket = ["sinks-utils-udp"]
sinks-splunk_hec = []
sinks-statsd = ["sinks-utils-udp", "tokio-util/net"]
sinks-syslog = ["codecs-syslog", "sinks-utils-udp"]
sinks-utils-udp = []
sinks-vector = ["sinks-utils-udp", "dep:tonic", "protobuf-build", "dep:prost"]
sinks-websocket = ["dep:tokio-tungstenite"]
Expand Down Expand Up @@ -1060,6 +1062,7 @@ all-integration-tests = [
"pulsar-integration-tests",
"redis-integration-tests",
"splunk-integration-tests",
"syslog-integration-tests",
"vector-api-tests",
"webhdfs-integration-tests",
"windows-event-log-integration-tests",
Expand Down Expand Up @@ -1129,6 +1132,7 @@ prometheus-integration-tests = ["sinks-prometheus", "sources-prometheus", "sinks
pulsar-integration-tests = ["sinks-pulsar", "sources-pulsar"]
redis-integration-tests = ["sinks-redis", "sources-redis"]
splunk-integration-tests = ["sinks-splunk_hec"]
syslog-integration-tests = ["sinks-syslog"]
dnstap-integration-tests = ["sources-dnstap", "dep:bollard"]
webhdfs-integration-tests = ["sinks-webhdfs"]
windows-event-log-integration-tests = ["sources-windows_event_log-integration-tests"]
Expand Down
6 changes: 6 additions & 0 deletions changelog.d/6863_syslog_sink.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Added a new `syslog` sink for sending log events in syslog format (RFC 5424 or RFC 3164) over TCP,
UDP, or Unix stream sockets, with configurable stream framing, TLS support, configurable facility,
severity, app_name, proc_id, and msg_id field mappings, and improved syslog encoder compatibility
for header fields, structured-data names, and common facility/severity aliases.

authors: tot19
2 changes: 1 addition & 1 deletion lib/codecs/src/encoding/format/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub use otlp::{OtlpSerializer, OtlpSerializerConfig};
pub use protobuf::{ProtobufSerializer, ProtobufSerializerConfig, ProtobufSerializerOptions};
pub use raw_message::{RawMessageSerializer, RawMessageSerializerConfig};
#[cfg(feature = "syslog")]
pub use syslog::{SyslogSerializer, SyslogSerializerConfig};
pub use syslog::{SyslogSerializer, SyslogSerializerConfig, SyslogSerializerOptions};
pub use text::{TextSerializer, TextSerializerConfig};
use vector_core::event::Event;

Expand Down
Loading
Loading