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

[Metricbeat] Remove xpack enabled flag on ES, Logstash, Beats and Kibana #24427

Merged
merged 70 commits into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from 69 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
575c571
Make elasticsearch/node_stats metricset work for Stack Monitoring wit…
ycombinator Aug 14, 2020
bd42176
Auto-include node_stats metricset when xpack.enabled: true is set (#2…
ycombinator Aug 18, 2020
249cb26
Initial commit
sayden Sep 23, 2020
ceddb05
Initial commit
sayden Sep 23, 2020
c3aed6b
Merge branch 'master' into feature-stack-monitoring-mb-ecs
sayden Nov 5, 2020
e7ce93d
Make update after rebasing and fixing conflicts in fields.yml
sayden Nov 5, 2020
9de5959
Make elasticsearch/index_summary metricset work for Stack Monitoring …
sayden Nov 10, 2020
04daf27
Update fields
sayden Nov 12, 2020
d440d2d
Skip test temporarly
sayden Nov 18, 2020
1b5d63f
Make elasticsearch/enrich metricset work for Stack Monitoring without…
sayden Nov 19, 2020
5b96b2b
Merge branch 'master' into feature-stack-monitoring-mb-ecs
sayden Nov 19, 2020
6112f45
Add TestMapperWithHttpHelper
sayden Nov 20, 2020
e6eeff0
Add version information to the HTTP Mapper tester
sayden Nov 20, 2020
11a933e
Pass a linter through the entire project
sayden Nov 20, 2020
d2d6856
Make elasticsearch/ccr metricset work for Stack Monitoring without xp…
sayden Nov 20, 2020
49a0491
Fix linting
sayden Nov 20, 2020
df32398
Fix linting running make check
sayden Dec 1, 2020
2b5b420
Make elasticsearch/cluster_stats metricset work for Stack Monitoring…
sayden Dec 1, 2020
ae189ad
Make elasticsearch/index metricset work for Stack Monitoring without …
sayden Dec 1, 2020
74491e9
Make elasticsearch/index_recovery metricset work for Stack Monitoring…
sayden Dec 1, 2020
27d1576
Merge branch 'master' into feature-stack-monitoring-mb-ecs
sayden Dec 4, 2020
19f2f7b
Make elasticsearch/ml_job metricset work for Stack Monitoring without…
sayden Dec 15, 2020
11f8738
Make logstash/node_stats metricset work for Stack Monitoring without …
sayden Dec 15, 2020
2c5742f
Make elasticsearch/shard metricset work for Stack Monitoring without …
sayden Dec 15, 2020
283ef2a
Make kibana/stats metricset work for Stack Monitoring without xpack.e…
sayden Dec 16, 2020
3a35c46
Merge branch 'feature/mb/elasticsearch/beats_stats_xpack_flag' into f…
sayden Dec 18, 2020
564ddc8
Remove more references to xpack
sayden Dec 18, 2020
dfc4f68
Merge branch 'feature-stack-monitoring-mb-ecs' into feature/mb/elasti…
sayden Dec 18, 2020
2d5861f
make check
sayden Dec 18, 2020
ca0dcbe
Fix missing key in event
sayden Dec 21, 2020
a00cc3d
Remove unused function
sayden Dec 23, 2020
4ff80cb
Merge branch 'master' into feature-stack-monitoring-mb-ecs
sayden Jan 14, 2021
dcb12ad
Fix fields.asciidoc
sayden Jan 14, 2021
cd88596
Add info data to the state event
sayden Jan 15, 2021
d9ebb4c
Merge branch 'master' into feature-stack-monitoring-mb-ecs
sayden Feb 10, 2021
a1c4595
fields updated
sayden Feb 10, 2021
7ae6396
[Metricbeat][SM] Extract a kibana/settings metricset from kibana/stat…
sayden Feb 15, 2021
7c97755
[SM] Elasticsearch Mapping (#23901)
sayden Mar 8, 2021
0d1564b
[SM] Kibana mapping to remove extra fields (#23976)
sayden Mar 8, 2021
1d8df95
Fix issue with expiry_date_in_millis
sayden Mar 10, 2021
4e277e1
Fix fields.asciidoc incorrectly generated
sayden Mar 10, 2021
83a1a88
Fix index_recovery trying to set a name on nil metricsetfields
sayden Mar 11, 2021
2e0d744
Change type from double to half_float for node_stats.os.cpu.load_aver…
sayden Mar 11, 2021
841889e
Fix field mappings on elasticsearch and kibana stats
sayden Mar 16, 2021
e6d072d
Reorganize fields to avoid overwriting of node keys
sayden Mar 20, 2021
b1c6396
Add a missing JSON test data for ML and shard
sayden Mar 21, 2021
4c9668f
Add missing kibana metrics
sayden Mar 30, 2021
e609dcc
Mapping of Beats module (no aliases yet)
sayden Mar 30, 2021
faa424f
Merge commit 'e609dcc05864cf5d39d5cb3bb3fd59f22e6a8ca0' into feature-…
sayden Mar 30, 2021
06bd809
Merge commit '5960d7f9cce1317cf15d08af1d5ef862149e8d38' into feature-…
sayden Mar 30, 2021
641428b
Add mappings to beat state and fix all conflicts
sayden Mar 30, 2021
00a5719
Mappings of Beats stats metricset
sayden Mar 31, 2021
2112755
add mapping and fields for APM server
sayden Apr 1, 2021
2e28687
Merge commit '23efd31aeaa6143a419c61c633f8c21d8a599264' into feature-…
sayden Apr 1, 2021
bbbfbe0
fix some incorrect mappings
sayden Apr 2, 2021
a6dea11
Fix elasticsearch test
sayden Apr 2, 2021
fa7b4c9
Fix linting
sayden Apr 2, 2021
c8f1320
Fix some tests and restore automatic enabling of metricset
sayden Apr 2, 2021
57dc000
Merge branch 'master' into feature-stack-monitoring-mb-ecs
sayden Apr 2, 2021
8610760
Fix kibana/settings failing test
sayden Apr 2, 2021
6c65de9
Fix more mappings in beats stats
sayden Apr 3, 2021
cd10649
Merge commit 'f9df32680d63a7e53b39477965b64ffbcc1d5986' into feature-…
sayden Apr 3, 2021
e5bd7ad
Fix docs conflict
sayden Apr 3, 2021
4afae9d
Merge commit 'b0f293e00accab7565c48d7892afdc47fca03007' into feature-…
sayden Apr 8, 2021
3b4db0e
Fix some fields that were missing on beats/stats
sayden Apr 8, 2021
fbbf0ee
Revert APM server from apm_server to original apm-server
sayden Apr 15, 2021
ed93787
Merge commit '46a2438dfe44e46c7b8d69e005a775fcdc0b03ac' into feature-…
sayden Apr 19, 2021
328a3f1
Merge commit '86f00e4716a82e8e461c7cfe8d2baf8c98e2a7dc' into feature-…
sayden Apr 20, 2021
c4a288f
Remove elasticsearch.index.created field to remove the call to metada…
sayden Apr 20, 2021
c188c8b
Add Changelog entry
sayden Apr 27, 2021
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
17,902 changes: 12,043 additions & 5,859 deletions metricbeat/docs/fields.asciidoc

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions metricbeat/docs/modules/elasticsearch/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This file is generated! See scripts/mage/docs_collector.go

include::../../../module/elasticsearch/index/_meta/docs.asciidoc[]

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

==== Fields

Expand Down
4 changes: 4 additions & 0 deletions metricbeat/docs/modules/kibana.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,14 @@ It also supports the options described in <<module-http-config-options>>.

The following metricsets are available:

* <<metricbeat-metricset-kibana-settings,settings>>

* <<metricbeat-metricset-kibana-stats,stats>>

* <<metricbeat-metricset-kibana-status,status>>

include::kibana/settings.asciidoc[]

include::kibana/stats.asciidoc[]

include::kibana/status.asciidoc[]
Expand Down
21 changes: 21 additions & 0 deletions metricbeat/docs/modules/kibana/settings.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
////
This file is generated! See scripts/mage/docs_collector.go
////

[[metricbeat-metricset-kibana-settings]]
=== Kibana settings metricset

include::../../../module/kibana/settings/_meta/docs.asciidoc[]


==== Fields

For a description of each field in the metricset, see the
<<exported-fields-kibana,exported fields>> section.

Here is an example document generated by this metricset:

[source,json]
----
include::../../../module/kibana/settings/_meta/data.json[]
----
3 changes: 2 additions & 1 deletion metricbeat/docs/modules_list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ This file is generated! See scripts/mage/docs_collector.go
|<<metricbeat-metricset-kafka-partition,partition>>
|<<metricbeat-metricset-kafka-producer,producer>> beta[]
|<<metricbeat-module-kibana,Kibana>> |image:./images/icon-no.png[No prebuilt dashboards] |
.2+| .2+| |<<metricbeat-metricset-kibana-stats,stats>>
.3+| .3+| |<<metricbeat-metricset-kibana-settings,settings>>
|<<metricbeat-metricset-kibana-stats,stats>>
|<<metricbeat-metricset-kibana-status,status>>
|<<metricbeat-module-kubernetes,Kubernetes>> |image:./images/icon-yes.png[Prebuilt dashboards are available] |
.22+| .22+| |<<metricbeat-metricset-kubernetes-apiserver,apiserver>>
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/helper/elastic/elastic.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func ReportErrorForMissingField(field string, product Product, r mb.ReporterV2)
// MakeErrorForMissingField returns an error message for the given field being missing in an API
// response received from a given product
func MakeErrorForMissingField(field string, product Product) error {
return fmt.Errorf("Could not find field '%v' in %v stats API response", field, strings.Title(product.String()))
return fmt.Errorf("Could not find field '%v' in %v API response", field, strings.Title(product.String()))
}

// IsFeatureAvailable returns whether a feature is available in the current product version
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/helper/elastic/elastic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func TestReportErrorForMissingField(t *testing.T) {
r := MockReporterV2{}
err := ReportErrorForMissingField(field, Elasticsearch, r)

expectedError := fmt.Errorf("Could not find field '%v' in Elasticsearch stats API response", field)
expectedError := fmt.Errorf("Could not find field '%v' in Elasticsearch API response", field)
assert.Equal(t, expectedError, err)
assert.Equal(t, expectedError, currentErr)
}
Expand Down
1 change: 1 addition & 0 deletions metricbeat/include/list_common.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading