You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Docs: deprecate loading dashboards and index pattern.
Add deprecation notes to apm-server.yml and docs
for loading dashboards and index patterns via Kibana.
Add deprecation note for setting up Kibana endpoint as it won't be
needed any more.
implements #1135
:run-command-short-desc: Runs {beatname_uc}. This command is used by default if you start {beatname_uc} without specifying a command
22
22
23
+
ifndef::deprecate_dashboard_loading[]
24
+
23
25
ifdef::has_ml_jobs[]
24
26
:setup-command-short-desc: Sets up the initial environment, including the index template, Kibana dashboards (when available), and machine learning jobs (when available)
25
27
endif::[]
26
28
27
29
ifndef::has_ml_jobs[]
28
-
:setup-command-short-desc: Sets up the initial environment, including the index template, Kibana dashboards (when available)
30
+
:setup-command-short-desc: Sets up the initial environment, including the index template and Kibana dashboards (when available)
31
+
endif::[]
32
+
33
+
endif::[]
34
+
35
+
ifdef::deprecate_dashboard_loading[]
36
+
37
+
:setup-command-short-desc: Sets up the initial environment, including the ES index template and Kibana dashboards (deprecated).
38
+
29
39
endif::[]
30
40
31
41
:test-command-short-desc: Tests the configuration
@@ -39,9 +49,17 @@ endif::[]
39
49
<titleabbrev>Command reference</titleabbrev>
40
50
++++
41
51
52
+
ifndef::deprecate_dashboard_loading[]
42
53
{beatname_uc} provides a command-line interface for starting {beatname_uc} and
43
-
performing common tasks, like testing configuration files and loading
44
-
dashboards. The command-line also supports <<global-flags,global flags>>
54
+
performing common tasks, like testing configuration files and loading dashboards.
55
+
endif::[]
56
+
57
+
ifdef::deprecate_dashboard_loading[]
58
+
{beatname_uc} provides a command-line interface for starting {beatname_uc} and
59
+
performing common tasks, like testing configuration files and loading dashboards (deprecated).
60
+
endif::[]
61
+
62
+
The command-line also supports <<global-flags,global flags>>
45
63
for controlling global behaviors.
46
64
47
65
ifeval::["{beatname_lc}"!="winlogbeat"]
@@ -391,8 +409,19 @@ the end of the file is reached. By default harvesters are closed after
391
409
endif::[]
392
410
393
411
*`--setup`*::
394
-
Loads the sample Kibana dashboards. If you want to load the dashboards without
395
-
running {beatname_uc}, use the <<setup-command,`setup`>> command instead.
412
+
ifdef::deprecate_dashboard_loading[]
413
+
deprecated[{deprecate_dashboard_loading}]
414
+
endif::[]
415
+
+
416
+
ifdef::has_ml_jobs[]
417
+
Loads the initial setup, including Elasticsearch template, Kibana index pattern,
418
+
Kibana dashboards and Machine learning jobs.
419
+
endif::[]
420
+
ifndef::has_ml_jobs[]
421
+
Loads the initial setup, including Elasticsearch template, Kibana index pattern and Kibana dashboards.
422
+
endif::[]
423
+
If you want to use the command without running {beatname_uc}, use the <<setup-command,`setup`>> command instead.
424
+
396
425
397
426
ifeval::["{beatname_lc}"=="metricbeat"]
398
427
@@ -431,13 +460,17 @@ Or:
431
460
[[setup-command]]
432
461
==== `setup` command
433
462
434
-
{setup-command-short-desc}.
463
+
{setup-command-short-desc}
435
464
436
465
* The index template ensures that fields are mapped correctly in Elasticsearch.
466
+
437
467
* The Kibana dashboards make it easier for you to visualize {beatname_uc} data
438
468
in Kibana.
469
+
470
+
ifdef::has_ml_jobs[]
439
471
* The machine learning jobs contain the configuration information and metadata
440
472
necessary to analyze data for anomalies.
473
+
endif::[]
441
474
442
475
Use this command instead of `run --setup` when you want to set up the
443
476
environment without actually running {beatname_uc} and ingesting data.
@@ -452,21 +485,41 @@ environment without actually running {beatname_uc} and ingesting data.
452
485
453
486
*FLAGS*
454
487
488
+
ifndef::deprecate_dashboard_loading[]
489
+
*`--dashboards`*::
490
+
Sets up the Kibana dashboards only. This option loads the dashboards from the
491
+
{beatname_uc} package. For more options, such as loading customized dashboards,
492
+
see {beatsdevguide}/import-dashboards.html[Importing Existing Beat Dashboards]
493
+
in the _Beats Developer Guide_.
494
+
endif::[]
495
+
496
+
ifdef::deprecate_dashboard_loading[]
455
497
*`--dashboards`*::
498
+
499
+
deprecated[{deprecate_dashboard_loading}]
500
+
+
456
501
Sets up the Kibana dashboards only.
502
+
endif::[]
457
503
458
504
*`-h, --help`*::
459
505
Shows help for the `setup` command.
460
506
507
+
ifdef::has_ml_jobs[]
508
+
461
509
*`--machine-learning`*::
462
510
Sets up machine learning job configurations only.
463
511
512
+
endif::[]
513
+
464
514
ifeval::["{beatname_lc}"=="filebeat"]
465
515
466
516
*`--modules MODULE_LIST`*::
467
517
Specifies a comma-separated list of modules. Use this flag to avoid errors when
468
518
there are no modules defined in the +{beatname_lc}.yml+ file.
0 commit comments