@@ -34,8 +34,7 @@ endif::[]
3434
3535ifdef::deprecate_dashboard_loading[]
3636
37- :setup-command-short-desc: Sets up the initial environment,
38- including the ES index template and Kibana dashboards (deprecated).
37+ :setup-command-short-desc: Sets up the initial environment, including the ES index template and Kibana dashboards (deprecated).
3938
4039endif::[]
4140
@@ -409,25 +408,21 @@ the end of the file is reached. By default harvesters are closed after
409408
410409endif::[]
411410
412- ifndef::deprecate_dashboard_loading[]
413411*`--setup`*::
414- endif::[]
415-
416412ifdef::deprecate_dashboard_loading[]
417- *`--setup ( deprecated)`*::
413+ deprecated[{deprecate_dashboard_loading}]
418414endif::[]
419-
415+ +
420416ifdef::has_ml_jobs[]
421417Loads the initial setup, including Elasticsearch template, Kibana index pattern,
422418Kibana dashboards and Machine learning jobs.
423419endif::[]
424-
425420ifndef::has_ml_jobs[]
426421Loads the initial setup, including Elasticsearch template, Kibana index pattern and Kibana dashboards.
427422endif::[]
428-
429423If you want to use the command without running {beatname_uc}, use the <<setup-command,`setup`>> command instead.
430424
425+
431426ifeval::["{beatname_lc}"=="metricbeat"]
432427
433428*`--system.hostfs MOUNT_POINT`*::
@@ -465,15 +460,12 @@ Or:
465460[[setup-command]]
466461==== `setup` command
467462
468- {setup-command-short-desc}.
463+ {setup-command-short-desc}
469464
470465* The index template ensures that fields are mapped correctly in Elasticsearch.
471466
472467* The Kibana dashboards make it easier for you to visualize {beatname_uc} data
473468in Kibana.
474- ifdef::deprecate_dashboard_loading[]
475- (deprecated)
476- endif::[]
477469
478470ifdef::has_ml_jobs[]
479471* The machine learning jobs contain the configuration information and metadata
@@ -502,7 +494,10 @@ in the _Beats Developer Guide_.
502494endif::[]
503495
504496ifdef::deprecate_dashboard_loading[]
505- *`--dashboards` (deprecated)*::
497+ *`--dashboards`*::
498+
499+ deprecated[{deprecate_dashboard_loading}]
500+ +
506501Sets up the Kibana dashboards only.
507502endif::[]
508503
0 commit comments