diff --git a/docs/plugins/discovery-azure-classic.asciidoc b/docs/plugins/discovery-azure-classic.asciidoc index e1dcaf0c2d61a..d611415bcb36d 100644 --- a/docs/plugins/discovery-azure-classic.asciidoc +++ b/docs/plugins/discovery-azure-classic.asciidoc @@ -333,53 +333,11 @@ ssh azure-elasticsearch-cluster.cloudapp.net Once connected, {ref}/install-elasticsearch.html[install {es}]. -Check that Elasticsearch is running: - -[source,console] ----- -GET / ----- - -This command should give you a JSON result: - -["source","js",subs="attributes,callouts"] --------------------------------------------- -{ - "name" : "Cp8oag6", - "cluster_name" : "elasticsearch", - "cluster_uuid" : "AT69_T_DTp-1qgIJlatQqA", - "version" : { - "number" : "{version_qualified}", - "build_type" : "{build_type}", - "build_hash" : "f27399d", - "build_flavor": "default", - "build_date" : "2016-03-30T09:51:41.449Z", - "build_snapshot" : false, - "lucene_version" : "{lucene_version}", - "minimum_wire_compatibility_version" : "1.2.3", - "minimum_index_compatibility_version" : "1.2.3" - }, - "tagline" : "You Know, for Search" -} --------------------------------------------- -// TESTRESPONSE[s/"name" : "Cp8oag6",/"name" : "$body.name",/] -// TESTRESPONSE[s/"cluster_name" : "elasticsearch",/"cluster_name" : "$body.cluster_name",/] -// TESTRESPONSE[s/"cluster_uuid" : "AT69_T_DTp-1qgIJlatQqA",/"cluster_uuid" : "$body.cluster_uuid",/] -// TESTRESPONSE[s/"build_hash" : "f27399d",/"build_hash" : "$body.version.build_hash",/] -// TESTRESPONSE[s/"build_date" : "2016-03-30T09:51:41.449Z",/"build_date" : $body.version.build_date,/] -// TESTRESPONSE[s/"build_snapshot" : false,/"build_snapshot" : $body.version.build_snapshot,/] -// TESTRESPONSE[s/"minimum_wire_compatibility_version" : "1.2.3"/"minimum_wire_compatibility_version" : $body.version.minimum_wire_compatibility_version/] -// TESTRESPONSE[s/"minimum_index_compatibility_version" : "1.2.3"/"minimum_index_compatibility_version" : $body.version.minimum_index_compatibility_version/] -// So much s/// but at least we test that the layout is close to matching.... - [[discovery-azure-classic-long-plugin]] ===== Install Elasticsearch cloud azure plugin [source,sh] ---- -# Stop Elasticsearch -sudo service elasticsearch stop - # Install the plugin sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install discovery-azure-classic @@ -408,11 +366,11 @@ discovery: # path.data: /mnt/resource/elasticsearch/data ---- -Restart Elasticsearch: +Start Elasticsearch: [source,sh] ---- -sudo service elasticsearch start +sudo systemctl start elasticsearch ---- If anything goes wrong, check your logs in `/var/log/elasticsearch`.