
To load the {asset}, run the `setup` command with the +--{option}+ option
specified. For example, if the {beats} output is {es}, run:

*deb and rpm:*

["source","sh",subs="attributes"]
----
metricbeat setup --{option}
----

*mac and linux:*

["source","sh",subs="attributes"]
----
./metricbeat setup --{option}
----

*docker:*

["source","sh",subs="attributes"]
----
docker run docker.elastic.co/beats/metricbeat:7.0.0 setup --{option}
----

*win:*

["source","sh",subs="attributes"]
----------------------------------------------------------------------
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"]'
----------------------------------------------------------------------
