This repository has been archived by the owner on May 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[metricbeat] add readme for examples
- Loading branch information
Showing
5 changed files
with
146 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# 6.x | ||
|
||
This example deploy Metricbeat 6.8.8. | ||
|
||
|
||
## Usage | ||
|
||
* Deploy [Elasticsearch Helm chart][]. | ||
|
||
* Deploy Metricbeat chart with the default values: `make install` | ||
|
||
* You can now setup a port forward to query Metricbeat indices: | ||
|
||
``` | ||
kubectl port-forward svc/six-master 9200 | ||
curl localhost:9200/_cat/indices | ||
``` | ||
|
||
|
||
## Testing | ||
|
||
You can also run [goss integration tests][] using `make test` | ||
|
||
|
||
[elasticsearch helm chart]: https://github.com/elastic/helm-charts/tree/master/elasticsearch/examples/6.x/ | ||
[goss integration tests]: https://github.com/elastic/helm-charts/tree/master/metricbeat/examples/6.x/test/goss.yaml |
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,27 @@ | ||
# Default | ||
|
||
This example deploy Metricbeat 7.6.2 using [default values][]. | ||
|
||
|
||
## Usage | ||
|
||
* Deploy [Elasticsearch Helm chart][]. | ||
|
||
* Deploy Metricbeat chart with the default values: `make install` | ||
|
||
* You can now setup a port forward to query Metricbeat indices: | ||
|
||
``` | ||
kubectl port-forward svc/elasticsearch-master 9200 | ||
curl localhost:9200/_cat/indices | ||
``` | ||
|
||
|
||
## Testing | ||
|
||
You can also run [goss integration tests][] using `make test` | ||
|
||
|
||
[elasticsearch helm chart]: https://github.com/elastic/helm-charts/tree/master/elasticsearch/examples/default/ | ||
[goss integration tests]: https://github.com/elastic/helm-charts/tree/master/metricbeat/examples/default/test/goss.yaml | ||
[default values]: https://github.com/elastic/helm-charts/tree/master/metricbeat/values.yaml |
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,27 @@ | ||
# OSS | ||
|
||
This example deploy Metricbeat 7.6.2 using [Metricbeat OSS][] version. | ||
|
||
|
||
## Usage | ||
|
||
* Deploy [Elasticsearch Helm chart][]. | ||
|
||
* Deploy Metricbeat chart with the default values: `make install` | ||
|
||
* You can now setup a port forward to query Metricbeat indices: | ||
|
||
``` | ||
kubectl port-forward svc/oss-master 9200 | ||
curl localhost:9200/_cat/indices | ||
``` | ||
|
||
|
||
## Testing | ||
|
||
You can also run [goss integration tests][] using `make test` | ||
|
||
|
||
[metricbeat oss]: https://www.elastic.co/downloads/beats/metricbeat-oss | ||
[elasticsearch helm chart]: https://github.com/elastic/helm-charts/tree/master/elasticsearch/examples/oss/ | ||
[goss integration tests]: https://github.com/elastic/helm-charts/tree/master/metricbeat/examples/oss/test/goss.yaml |
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,28 @@ | ||
# Security | ||
|
||
This example deploy Metricbeat 7.6.2 using authentication and TLS to connect to | ||
Elasticsearch (see [values][]). | ||
|
||
|
||
## Usage | ||
|
||
* Deploy [Elasticsearch Helm chart][]. | ||
|
||
* Deploy Metricbeat chart with security: `make install` | ||
|
||
* You can now setup a port forward to query Metricbeat indices: | ||
|
||
``` | ||
kubectl port-forward svc/security-master 9200 | ||
curl -u elastic:changeme https://localhost:9200/_cat/indices | ||
``` | ||
|
||
|
||
## Testing | ||
|
||
You can also run [goss integration tests][] using `make test` | ||
|
||
|
||
[elasticsearch helm chart]: https://github.com/elastic/helm-charts/tree/master/elasticsearch/examples/security/ | ||
[goss integration tests]: https://github.com/elastic/helm-charts/tree/master/metricbeat/examples/security/test/goss.yaml | ||
[values]: https://github.com/elastic/helm-charts/tree/master/metricbeat/examples/security/values.yaml |