Skip to content

Commit a68567b

Browse files
mergify[bot]kvch
andauthored
Deprecate generating custom Beats (#28814) (#28838)
(cherry picked from commit 0f989b8) Co-authored-by: Noémi Ványi <[email protected]>
1 parent faf1469 commit a68567b

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

CHANGELOG-developer.next.asciidoc

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

131131
- Deprecated the `common.Float` type. {issue}28279[28279] {pull}28280[28280]
132+
- 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)