Skip to content

Commit 4684ac7

Browse files
authored
Make the Syslog input GA (#26293)
1 parent 124a2c3 commit 4684ac7

7 files changed

Lines changed: 4 additions & 15 deletions

File tree

CHANGELOG.next.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
821821
- Add `preserve_original_event` option to `o365audit` input. {pull}26273[26273]
822822
- Add `log.flags` to events created by the `aws-s3` input. {pull}26267[26267]
823823
- Add `include_s3_metadata` config option to the `aws-s3` input for including object metadata in events. {pull}26267[26267]
824+
- RFC 5424 and UNIX socket support in the Syslog input are now GA {pull}26293[26293]
825+
824826

825827
*Heartbeat*
826828

filebeat/_meta/config/filebeat.inputs.reference.yml.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,6 @@ filebeat.inputs:
488488
#max_message_size: 10KiB
489489
490490
# Accept RFC5424 formatted syslog event via TCP.
491-
# RFC5424 support is in beta.
492491
#- type: syslog
493492
#enabled: false
494493
#format: rfc5424

filebeat/docs/inputs/input-syslog.asciidoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<titleabbrev>Syslog</titleabbrev>
88
++++
99

10-
The `syslog` input reads Syslog events as specified by RFC 3164 and RFC 5424, over TCP, UDP, or a Unix stream socket. RFC 5424 support is currently in beta.
10+
The `syslog` input reads Syslog events as specified by RFC 3164 and RFC 5424, over TCP, UDP, or a Unix stream socket.
1111

1212
Example configurations:
1313

@@ -45,7 +45,7 @@ The `syslog` input configuration includes format, protocol specific options, and
4545

4646
===== `format`
4747

48-
The syslog variant to use, `rfc3164` or `rfc5424`. To automatically detect the format from the log entries, set this option to `auto`. The default is `rfc3164`. The `rfc5424` and `auto` options are currently in beta.
48+
The syslog variant to use, `rfc3164` or `rfc5424`. To automatically detect the format from the log entries, set this option to `auto`. The default is `rfc3164`.
4949

5050
===== Protocol `udp`:
5151

@@ -57,8 +57,6 @@ include::../inputs/input-common-tcp-options.asciidoc[]
5757

5858
===== Protocol `unix`:
5959

60-
beta[]
61-
6260
include::../inputs/input-common-unix-options.asciidoc[]
6361

6462
[id="{beatname_lc}-input-{type}-common-options"]

filebeat/filebeat.reference.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,6 @@ filebeat.inputs:
895895
#max_message_size: 10KiB
896896

897897
# Accept RFC5424 formatted syslog event via TCP.
898-
# RFC5424 support is in beta.
899898
#- type: syslog
900899
#enabled: false
901900
#format: rfc5424

filebeat/input/syslog/config.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import (
3030
"github.com/elastic/beats/v7/filebeat/inputsource/udp"
3131
"github.com/elastic/beats/v7/filebeat/inputsource/unix"
3232
"github.com/elastic/beats/v7/libbeat/common"
33-
"github.com/elastic/beats/v7/libbeat/common/cfgwarn"
3433
"github.com/elastic/beats/v7/libbeat/logp"
3534
)
3635

@@ -119,8 +118,6 @@ func factory(
119118

120119
return tcp.New(&config.Config, factory)
121120
case unix.Name:
122-
cfgwarn.Beta("Syslog Unix socket support is beta.")
123-
124121
config := defaultUnix()
125122
if err := cfg.Unpack(&config); err != nil {
126123
return nil, err

filebeat/input/syslog/input.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import (
3030
"github.com/elastic/beats/v7/filebeat/inputsource"
3131
"github.com/elastic/beats/v7/libbeat/beat"
3232
"github.com/elastic/beats/v7/libbeat/common"
33-
"github.com/elastic/beats/v7/libbeat/common/cfgwarn"
3433
"github.com/elastic/beats/v7/libbeat/logp"
3534
)
3635

@@ -123,10 +122,6 @@ func NewInput(
123122
return nil, err
124123
}
125124

126-
if config.Format != syslogFormatRFC3164 {
127-
cfgwarn.Beta("Syslog RFC 5424 format is enabled")
128-
}
129-
130125
forwarder := harvester.NewForwarder(out)
131126
cb := GetCbByConfig(config, forwarder, log)
132127
server, err := factory(cb, config.Protocol)

x-pack/filebeat/filebeat.reference.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2919,7 +2919,6 @@ filebeat.inputs:
29192919
#max_message_size: 10KiB
29202920

29212921
# Accept RFC5424 formatted syslog event via TCP.
2922-
# RFC5424 support is in beta.
29232922
#- type: syslog
29242923
#enabled: false
29252924
#format: rfc5424

0 commit comments

Comments
 (0)