Skip to content

Commit

Permalink
[docs] Fix attribute resolution in example (elastic#17955) (elastic#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton authored Apr 24, 2020
1 parent 5b17a87 commit e1ef28e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
11 changes: 6 additions & 5 deletions filebeat/docs/running-on-cloudfoundry.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[[running-on-cloudfoundry]]
=== Running {beatname_uc} on Cloud Foundry
=== Run {beatname_uc} on Cloud Foundry

You can use {beatname_uc} on Cloud Foundry to retrieve and ship logs.

Expand All @@ -14,18 +14,19 @@ endif::[]
[float]
==== Cloud Foundry credentials

{beatname_uc} needs credentials created with UAA so it can connect to loggregator to receive the logs. The uaac
{beatname_uc} needs credentials created with UAA so it can connect to loggregator to receive the logs. The `uaac`
command will create the required credentials for connecting to loggregator.

["source", "sh"]
["source","sh",subs="attributes"]
------------------------------------------------
uaac client add {beatname_lc} --name {beatname_lc} --secret changeme --authorized_grant_types client_credentials,refresh_token --authorities doppler.firehose,cloud_controller.admin_read_only
------------------------------------------------

[WARNING]
=======================================
*Use a unique secret:* The uaac command above is just an example and the secret should be changed and the
`{beatname_lc}.yml` should be updated with your choosen secret.
*Use a unique secret:* The `uaac` command shown here is an example. Remember to
replace `changeme` with your secret, and update the +{beatname_lc}.yml+ file to
use your chosen secret.
=======================================


Expand Down
2 changes: 1 addition & 1 deletion filebeat/docs/running-on-kubernetes.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[[running-on-kubernetes]]
=== Running {beatname_uc} on Kubernetes
=== Run {beatname_uc} on Kubernetes

You can use {beatname_uc} <<running-on-docker,Docker images>> on Kubernetes to
retrieve and ship container logs.
Expand Down
11 changes: 6 additions & 5 deletions metricbeat/docs/running-on-cloudfoundry.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[[running-on-cloudfoundry]]
=== Running {beatname_uc} on Cloud Foundry
=== Run {beatname_uc} on Cloud Foundry

You can use {beatname_uc} on Cloud Foundry to retrieve and ship metrics.

Expand All @@ -14,18 +14,19 @@ endif::[]
[float]
==== Cloud Foundry credentials

{beatname_uc} needs credentials created with UAA so it can connect to loggregator to receive the logs. The uaac
{beatname_uc} needs credentials created with UAA so it can connect to loggregator to receive the logs. The `uaac`
command will create the required credentials for connecting to loggregator.

["source", "sh"]
["source","sh",subs="attributes"]
------------------------------------------------
uaac client add {beatname_lc} --name {beatname_lc} --secret changeme --authorized_grant_types client_credentials,refresh_token --authorities doppler.firehose,cloud_controller.admin_read_only
------------------------------------------------

[WARNING]
=======================================
*Use a unique secret:* The uaac command above is just an example and the secret should be changed and the
`{beatname_lc}.yml` should be updated with your choosen secret.
*Use a unique secret:* The `uaac` command shown here is an example. Remember to
replace `changeme` with your secret, and update the +{beatname_lc}.yml+ file to
use your chosen secret.
=======================================


Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/running-on-kubernetes.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[[running-on-kubernetes]]
=== Running Metricbeat on Kubernetes
=== Run Metricbeat on Kubernetes

You can use {beatname_uc} <<running-on-docker,Docker images>> on Kubernetes to
retrieve cluster metrics.
Expand Down

0 comments on commit e1ef28e

Please sign in to comment.