diff --git a/docs/plugins/discovery-gce.asciidoc b/docs/plugins/discovery-gce.asciidoc index c194434414e..33369eaba3c 100644 --- a/docs/plugins/discovery-gce.asciidoc +++ b/docs/plugins/discovery-gce.asciidoc @@ -83,10 +83,10 @@ Examples: -------------------------------------------------- # get the IP address from network interface 1 network.host: _gce:privateIp:1_ -# shortcut for _gce:privateIp:0_ -network.host: _gce_ -# Using GCE internal hostname (recommended) +# Using GCE internal hostname network.host: _gce:hostname_ +# shortcut for _gce:privateIp:0_ (recommended) +network.host: _gce_ -------------------------------------------------- [[discovery-gce-usage-short]] @@ -227,7 +227,7 @@ cloud: project_id: es-cloud zone: europe-west1-a discovery: - type: gce + zen.hosts_provider: gce -------------------------------------------------- @@ -341,7 +341,7 @@ cloud: project_id: zone: ["", ""] discovery: - type: gce + zen.hosts_provider: gce -------------------------------------------------- @@ -377,7 +377,7 @@ cloud: project_id: es-cloud zone: europe-west1-a discovery: - type: gce + zen.hosts_provider: gce gce: tags: elasticsearch, dev -------------------------------------------------- @@ -492,7 +492,7 @@ cloud: project_id: es-cloud zone: europe-west1-a discovery: - type: gce + zen.hosts_provider: gce -------------------------------------------------- Replaces `project_id` and `zone` with your settings.