kibana/docs/settings-gen
Kibana Machine 8e35be50fe
[9.0] [Docs] Replace remaining occurrences of ESS (#220045) (#220052)
# Backport

This will backport the following commits from `main` to `9.0`:
- [[Docs] Replace remaining occurrences of ESS
(#220045)](https://github.com/elastic/kibana/pull/220045)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"florent-leborgne","email":"florent.leborgne@elastic.co"},"sourceCommit":{"committedDate":"2025-05-05T10:29:30Z","message":"[Docs]
Replace remaining occurrences of ESS (#220045)\n\nThis PR updates some
remaining obsolete variables and mentions of\nESS/Elasticsearch Service
that should now refer to Elastic Cloud Hosted.\n\nNote: There are still
a few valid references to the Elasticsearch\nservice, not to be mixed
with the cloud offering bearing the same
name.","sha":"8a05701cc41fc437c872bb84662f102b77dc802c","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","backport:version","v9.1.0","v9.0.1"],"title":"[Docs]
Replace remaining occurrences of
ESS","number":220045,"url":"https://github.com/elastic/kibana/pull/220045","mergeCommit":{"message":"[Docs]
Replace remaining occurrences of ESS (#220045)\n\nThis PR updates some
remaining obsolete variables and mentions of\nESS/Elasticsearch Service
that should now refer to Elastic Cloud Hosted.\n\nNote: There are still
a few valid references to the Elasticsearch\nservice, not to be mixed
with the cloud offering bearing the same
name.","sha":"8a05701cc41fc437c872bb84662f102b77dc802c"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220045","number":220045,"mergeCommit":{"message":"[Docs]
Replace remaining occurrences of ESS (#220045)\n\nThis PR updates some
remaining obsolete variables and mentions of\nESS/Elasticsearch Service
that should now refer to Elastic Cloud Hosted.\n\nNote: There are still
a few valid references to the Elasticsearch\nservice, not to be mixed
with the cloud offering bearing the same
name.","sha":"8a05701cc41fc437c872bb84662f102b77dc802c"}},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
2025-05-05 11:03:05 +00:00
..
source [9.0] [Docs] Replace remaining occurrences of ESS (#220045) (#220052) 2025-05-05 11:03:05 +00:00
parse-settings.pl [Docs] Update "Alert and action settings" docs to be generated from YAML source (#191787) 2025-01-07 12:53:09 -05:00
readme.md [Docs] Update "Alert and action settings" docs to be generated from YAML source (#191787) 2025-01-07 12:53:09 -05:00

YAML-based settings documentation

We're aiming to update the Kibana configuration settings pages to be based off of YAML-formatted source files. The approach has the advantages that:

  • The YAML format makes it easier to add new settings and update existing ones. The setting data is separate from almost all formatting, whether Asciidoc or (future) Markdown.
  • The HTML files will have a more consistent and user-friendly appearance.
  • The YAML format makes it easier for teams to identify missing settings or settings that are lacking details that should be made available in the docs.

The YAML settings files in the settings-gen/source folder are converted to Asciidoc source, located in the same directory, by means of the parse-settings.pl Perl script. Please do not update the generated Asciidoc files directly as your changes will be overwritten. Please make any required docs changes in the <name>-settings.yml files.

Following is a schema for all available properties in a YAML settings file.

Schema

product: REQUIRED e.g. Elasticsearch, Kibana, Enterprise Search
collection: REQUIRED e.g. Alerting and action settings in Kibana
page_description: |
  OPTIONAL
  Multiline string. Can include tables, lists, code examples, etc.

groups:
  - group: REQUIRED e.g. Preconfigured connector settings
    id: REQUIRED The ID used for documentation links, e.g., general-alert-action-settings
    # description: |
      OPTIONAL
      Multiline string. Can include tables, lists, code examples, etc.
    # example: |
      OPTIONAL
      Multiline string.
      Can include tables, lists, code examples, etc.      

    settings:
      - setting: REQUIRED e.g. xpack.encryptedSavedObjects.encryptionKey
        # id: OPTIONAL ID used for documentation links, e.g., xpack-encryptedsavedobjects-encryptionkey
        description: |
          REQUIRED
          Multiline string. Can include tables, lists, code examples, etc.
        # state: OPTIONAL One of deprecated/hidden/tech-preview
        # deprecation_details: "" OPTIONAL
        # note: "" OPTIONAL
        # tip: "" OPTIONAL
        # warning: "" OPTIONAL
        # important: "" OPTIONAL
        # datatype: REQUIRED One of string/bool/int/float/enum. For enum include the supported 'options', below.
        # default: OPTIONAL
        # options:
        #   - option: OPTIONAL
        #     description: "" OPTIONAL
        # type: OPTIONAL ONe of static/dynamic
        # platforms: OPTIONAL, list each supported platform
        #   - cloud
        #   - serverless
        #   - self-managed
        # example: |
          OPTIONAL
          Multiline string. Can include tables, lists, code examples, etc.