Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate generating custom Beats #28814

Merged
merged 4 commits into from
Nov 5, 2021
Merged
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
1 change: 1 addition & 0 deletions CHANGELOG-developer.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,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