Skip to content

Commit

Permalink
Deprecate generating custom Beats (#28814)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0f989b8)
  • Loading branch information
kvch authored and mergify-bot committed Nov 5, 2021
1 parent 4c2558e commit ea468e2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-developer.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,4 @@ The list below covers the major changes between 7.0.0-rc2 and master only.
==== Deprecated

- Deprecated the `common.Float` type. {issue}28279[28279] {pull}28280[28280]
- Deprecate Beat generators. {pull}28814[28814]
2 changes: 2 additions & 0 deletions docs/devguide/creating-beat-from-metricbeat.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[[creating-beat-from-metricbeat]]
=== Creating a Beat based on Metricbeat

deprecated:[7.16.0]

The metricset Beat generator enables you to create a Beat that uses Metricbeat as a library and has your
own metricsets.

Expand Down
2 changes: 2 additions & 0 deletions docs/devguide/newbeat.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[[new-beat]]
== Creating a New Beat

deprecated:[7.16.0]

This guide walks you through the steps for creating a new Elastic Beat. The
Beats are a collection of lightweight daemons that collect operational data from
your servers and ship it to Elasticsearch or Logstash. The common parts for
Expand Down
2 changes: 2 additions & 0 deletions generator/common/beatgen/beatgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ var configList = []ConfigItem{

// Generate generates a new custom beat
func Generate() error {
fmt.Println("Generating custom Beats are going to be removed in 8.0.0.")

cfg, err := getConfig()
if err != nil {
return errors.Wrap(err, "error getting config")
Expand Down
2 changes: 2 additions & 0 deletions libbeat/docs/communitybeats.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
[[community-beats]]
== Community Beats

Please note that generating new Beats is deprecated since 7.16.

The open source community has been hard at work developing new Beats. You can check
out some of them here.

Expand Down

0 comments on commit ea468e2

Please sign in to comment.