Skip to content

Commit

Permalink
remove references to export template --index (#38563)
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry authored Mar 25, 2024
1 parent fe132da commit 5750480
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions libbeat/docs/command-reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ If {kib} is not running on `localhost:5061`, you must also adjust the
endif::no_dashboards[]

[[template-subcommand]]*`template`*::
Exports the index template to stdout. You can specify the `--es.version` and
`--index` flags to further define what gets exported. Furthermore you can export
Exports the index template to stdout. You can specify the `--es.version`
flag to further define what gets exported. Furthermore you can export
the template to a file instead of `stdout` by defining a directory via `--dir`.

[[ilm-policy-subcommand]]
Expand Down Expand Up @@ -388,10 +388,6 @@ endif::export_pipeline[]
*`-h, --help`*::
Shows help for the `export` command.

*`--index BASE_NAME`*::
When used with <<template-subcommand,`template`>>, sets the base name to use for
the index template. If this flag is not specified, the default base name is
+{beatname_lc}+.

*`--dir DIRNAME`*::

Expand All @@ -412,7 +408,7 @@ ifndef::no_dashboards[]
["source","sh",subs="attributes"]
-----
{beatname_lc} export config
{beatname_lc} export template --es.version {version} --index myindexname
{beatname_lc} export template --es.version {version}
{beatname_lc} export dashboard --id="a7b35890-8baa-11e8-9676-ef67484126fb" > dashboard.json
-----
endif::no_dashboards[]
Expand All @@ -421,7 +417,7 @@ ifdef::no_dashboards[]
["source","sh",subs="attributes"]
-----
{beatname_lc} export config
{beatname_lc} export template --es.version {version} --index myindexname
{beatname_lc} export template --es.version {version}
-----
endif::no_dashboards[]
endif::serverless[]
Expand All @@ -430,7 +426,7 @@ ifdef::serverless[]
["source","sh",subs="attributes"]
-----
{beatname_lc} export config
{beatname_lc} export template --es.version {version} --index myindexname
{beatname_lc} export template --es.version {version}
{beatname_lc} export function cloudwatch
-----
endif::serverless[]
Expand Down

0 comments on commit 5750480

Please sign in to comment.