Skip to content

Commit f334aee

Browse files
authored
Add linux examples (#198) (#313)
1 parent ca0c3fe commit f334aee

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

docs/en/getting-started/get-started-stack.asciidoc

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ Elasticsearch Service for free].
5656

5757
To download and install {es}, open a terminal window and use the commands that
5858
work with your system (<<deb, deb>> for Debian/Ubuntu, <<rpm, rpm>> for
59-
Redhat/Centos/Fedora, <<mac, mac>> for OS X, and <<win, win>> for Windows):
59+
Redhat/Centos/Fedora, <<mac, mac>> for OS X, <<linux, linux>> for Linux, and
60+
<<win, win>> for Windows):
6061

6162

6263
[[deb]]*deb:*
@@ -239,7 +240,7 @@ file, `kibana.yml`, before starting {kib}.
239240
To download and install {kib}, open a terminal window and use the commands that
240241
work with your system:
241242

242-
*deb or rpm:*
243+
*deb, rpm, or linux:*
243244

244245
ifeval::["{release-state}"=="unreleased"]
245246

@@ -414,6 +415,24 @@ tar xzvf metricbeat-{version}-darwin-x86_64.tar.gz
414415

415416
endif::[]
416417

418+
*linux:*
419+
420+
ifeval::["{release-state}"=="unreleased"]
421+
422+
Version {version} of {metricbeat} has not yet been released.
423+
424+
endif::[]
425+
426+
ifeval::["{release-state}"!="unreleased"]
427+
428+
["source","sh",subs="attributes,callouts"]
429+
------------------------------------------------
430+
curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{version}-linux-x86_64.tar.gz
431+
tar xzvf metricbeat-{version}-linux-x86_64.tar.gz
432+
------------------------------------------------
433+
434+
endif::[]
435+
417436
*win:*
418437

419438
ifeval::["{release-state}"=="unreleased"]
@@ -480,7 +499,7 @@ To set up the `system` module and start collecting system metrics:
480499
sudo metricbeat modules enable system
481500
----
482501
+
483-
*mac:*
502+
*mac and linux:*
484503
+
485504
[source,yaml]
486505
----
@@ -503,7 +522,7 @@ PS C:\Program Files\Metricbeat> .\metricbeat.exe modules enable system
503522
sudo metricbeat setup -e
504523
----
505524
+
506-
*mac:*
525+
*mac and linux:*
507526
+
508527
[source,yaml]
509528
----
@@ -530,7 +549,7 @@ standard error instead of syslog.
530549
sudo service metricbeat start
531550
----
532551
+
533-
*mac:*
552+
*mac and linux:*
534553
+
535554
[source,yaml]
536555
----
@@ -619,7 +638,7 @@ sudo rpm -i logstash-{logstash_version}.rpm
619638

620639
endif::[]
621640

622-
*mac:*
641+
*mac and linux:*
623642

624643
ifeval::["{release-state}"=="unreleased"]
625644

@@ -733,7 +752,7 @@ sudo /etc/init.d/logstash start
733752
sudo service logstash start
734753
----------------------------------------------------------------------
735754

736-
*mac:*
755+
*mac and linux:*
737756

738757
["source","sh",subs="attributes,callouts"]
739758
----------------------------------------------------------------------

0 commit comments

Comments
 (0)