Skip to content

Commit

Permalink
Fix documentation on setup.ilm.policy_name setting (elastic#15750)
Browse files Browse the repository at this point in the history
Documentation and sample reference configuration still states that the
agent version is appended to the default policy name configured via
setup.ilm.policy_name. With 7.6 the version is removed from the default.

(cherry picked from commit fa34a7b)
  • Loading branch information
Steffen Siering committed Jan 23, 2020
1 parent ed232fe commit 2fcebd0
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion auditbeat/auditbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'auditbeat-%{[agent.version]}'.
# 'auditbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'filebeat-%{[agent.version]}'.
# 'filebeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/heartbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'heartbeat-%{[agent.version]}'.
# 'heartbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion journalbeat/journalbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'journalbeat-%{[agent.version]}'.
# 'journalbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion libbeat/_meta/config.reference.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'beatname-%{[agent.version]}'.
# 'beatname'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion libbeat/docs/shared-ilm.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ overwrite the template to apply the changes.
==== `setup.ilm.policy_name`

The name to use for the lifecycle policy. The default is
+{beatname_lc}-%{[{beat_version_key}]}+.
+{beatname_lc}+.

[float]
[[setup-ilm-policy_file-option]]
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'metricbeat-%{[agent.version]}'.
# 'metricbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/packetbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'packetbeat-%{[agent.version]}'.
# 'packetbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion winlogbeat/winlogbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'winlogbeat-%{[agent.version]}'.
# 'winlogbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion x-pack/auditbeat/auditbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'auditbeat-%{[agent.version]}'.
# 'auditbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'filebeat-%{[agent.version]}'.
# 'filebeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion x-pack/functionbeat/functionbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'functionbeat-%{[agent.version]}'.
# 'functionbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion x-pack/metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2027,7 +2027,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'metricbeat-%{[agent.version]}'.
# 'metricbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down
2 changes: 1 addition & 1 deletion x-pack/winlogbeat/winlogbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ setup.template.settings:
#setup.ilm.pattern: "{now/d}-000001"

# Set the lifecycle policy name. The default policy name is
# 'winlogbeat-%{[agent.version]}'.
# 'winlogbeat'.
#setup.ilm.policy_name: "mypolicy"

# The path to a JSON file that contains a lifecycle policy configuration. Used
Expand Down

0 comments on commit 2fcebd0

Please sign in to comment.