forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Elasticsearch index summary metricset (elastic#6918)
This provides stats for the summary across all Elasticsearch indicies. Starts are fetched from the _stats endpoint.
- Loading branch information
Showing
21 changed files
with
518 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
metricbeat/docs/modules/elasticsearch/index_summary.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//// | ||
This file is generated! See scripts/docs_collector.py | ||
//// | ||
|
||
[[metricbeat-metricset-elasticsearch-index_summary]] | ||
=== Elasticsearch index_summary metricset | ||
|
||
experimental[] | ||
|
||
include::../../../module/elasticsearch/index_summary/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-elasticsearch,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../module/elasticsearch/index_summary/_meta/data.json[] | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
- module: elasticsearch | ||
metricsets: | ||
#- index | ||
#- index_summary | ||
- node | ||
- node_stats | ||
period: 10s | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
metricbeat/module/elasticsearch/index_summary/_meta/data.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"beat": { | ||
"hostname": "host.example.com", | ||
"name": "host.example.com" | ||
}, | ||
"elasticsearch": { | ||
"cluster": { | ||
"id": "UziYVLPkTTmCzccc6102Bg", | ||
"name": "elasticsearch" | ||
}, | ||
"index": { | ||
"summary": { | ||
"primaries": { | ||
"docs": { | ||
"count": 231, | ||
"deleted": 56 | ||
}, | ||
"segments": { | ||
"count": 16, | ||
"memory": { | ||
"bytes": 105245 | ||
} | ||
}, | ||
"store": { | ||
"size": { | ||
"bytes": 444882 | ||
} | ||
} | ||
}, | ||
"total": { | ||
"docs": { | ||
"count": 231, | ||
"deleted": 56 | ||
}, | ||
"segments": { | ||
"count": 16, | ||
"memory": { | ||
"bytes": 105245 | ||
} | ||
}, | ||
"store": { | ||
"size": { | ||
"bytes": 444882 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"metricset": { | ||
"host": "127.0.0.1:9200", | ||
"module": "elasticsearch", | ||
"name": "index_summary", | ||
"namespace": "elasticsearch.index.summary", | ||
"rtt": 115 | ||
}, | ||
"service": { | ||
"name": "elasticsearch" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
metricbeat/module/elasticsearch/index_summary/_meta/docs.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is the index summary metricset of the module elasticsearch. |
Oops, something went wrong.