Automated settings reference
Elastic Docs V3 supports the ability to build a markdown settings reference from a YAML source file.
:::{settings} /syntax/settings-with-applies-example.yml
:::
See /syntax/settings-with-applies-example.yml for a full, schema-compliant sample.
It demonstrates:
- Group
descriptionandexample. - Setting
id,datatype,default, andoptions. note,tip,warning,important, anddeprecation_details.- Nested
settings. applies_toinheritance and override behavior.
Everything below this line is auto-generated.
General settings
These settings show top-level schema fields, metadata, and applies_to usage.
xpack.example.enabled: true
xpack.example.mode: strict
- xpack.example.enabled
-
Enables the example feature.
Datatype:
boolDefault:
trueOptions:
-
true- Turns the feature on. -
false- Turns the feature off.
NoteDisable this only for troubleshooting.
TipKeep this enabled in production.
-
- xpack.example.mode
-
Controls runtime mode.
Datatype:
enumDefault:
strictOptions:
-
strict- Full validation. -
lenient- Reduced validation.
WarningLenient mode may hide configuration mistakes.
ImportantStrict mode is recommended for production.
Deprecation detailsThe
lenientoption will be deprecated in a future release.xpack.example.mode: strict -
Advanced settings
These settings demonstrate nested entries and applies_to inheritance.
- xpack.example.hosts
-
List of custom host settings.
Datatype:
objectDefault:
[]- xpack.example.hosts[n].url
-
Child setting inherits applies_to from the parent.
Datatype:
string - xpack.example.hosts[n].mode
-
Child setting overrides applies_to.
Datatype:
enumDefault:
strictOptions:
-
strict- Requires strict checks. -
lenient- Allows lenient checks.
TipKeep all host modes aligned to simplify troubleshooting and reduce drift.
xpack.example.hosts: - url: https://example.org mode: strict -
- xpack.example.hosts[n].url