Skip to content

Commit 0f989b8

Browse files
authored
Deprecate generating custom Beats (#28814)
1 parent 5ee1964 commit 0f989b8

5 files changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG-developer.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,4 @@ The list below covers the major changes between 7.0.0-rc2 and master only.
130130
==== Deprecated
131131

132132
- Deprecated the `common.Float` type. {issue}28279[28279] {pull}28280[28280]
133+
- Deprecate Beat generators. {pull}28814[28814]

docs/devguide/creating-beat-from-metricbeat.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[[creating-beat-from-metricbeat]]
22
=== Creating a Beat based on Metricbeat
33

4+
deprecated:[7.16.0]
5+
46
The metricset Beat generator enables you to create a Beat that uses Metricbeat as a library and has your
57
own metricsets.
68

docs/devguide/newbeat.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[[new-beat]]
22
== Creating a New Beat
33

4+
deprecated:[7.16.0]
5+
46
This guide walks you through the steps for creating a new Elastic Beat. The
57
Beats are a collection of lightweight daemons that collect operational data from
68
your servers and ship it to Elasticsearch or Logstash. The common parts for

generator/common/beatgen/beatgen.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ var configList = []ConfigItem{
9292

9393
// Generate generates a new custom beat
9494
func Generate() error {
95+
fmt.Println("Generating custom Beats are going to be removed in 8.0.0.")
96+
9597
cfg, err := getConfig()
9698
if err != nil {
9799
return errors.Wrap(err, "error getting config")

libbeat/docs/communitybeats.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
[[community-beats]]
77
== Community Beats
88

9+
Please note that generating new Beats is deprecated since 7.16.
10+
911
The open source community has been hard at work developing new Beats. You can check
1012
out some of them here.
1113

0 commit comments

Comments
 (0)