Skip to content

Commit

Permalink
Add more platform-specific commands (elastic#11862) (elastic#12049)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton authored May 9, 2019
1 parent cbbb559 commit f4420c6
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions libbeat/docs/upgrade-setup-commands.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,30 @@ PS > .{backslash}metricbeat.exe setup --{option}
If the {beats} output is not `elasticsearch`, temporarily enable the
`elasticsearch` output when you run the `setup` command. For example:

*deb and rpm:*

["source","sh",subs="attributes"]
--
----
metricbeat setup --{option} -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'
--
----

*mac and linux:*

["source","sh",subs="attributes"]
----
./metricbeat setup --{option} -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'
----
*docker:*
["source","sh",subs="attributes"]
----
docker run docker.elastic.co/beats/metricbeat:7.0.0 setup --{option} -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'
----

*win:*

["source","sh",subs="attributes"]
----------------------------------------------------------------------
PS > .{backslash}metricbeat.exe setup --{option} -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'
----------------------------------------------------------------------

0 comments on commit f4420c6

Please sign in to comment.