Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/extend/creating-classic-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ Allows code to access the filesystem, to read or write paths as specified by the

It is possible to specify 3 different types of file entitlement:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ldematte final thought on this one: we could use numbered list for the 3 here to be even clearer :)

- `path` to specify an absolute path
- `relative_path` to specify a relative path. The path will be resolved via the `relative_to` field, which is used to qualify the relative path. It can be a specific {{es}} directory (`config` or `data`), or to the user home directory (`home`) (the home of the user running {{es}})
- `relative_path` to specify a path resolved via the `relative_to` field, which can have the following values:
- `relative_path` to specify a relative path
- Use the `relative_to` field to qualify the relative path. `relative_to` accepts the following options:
- `config`: the {{es}} [config directory](https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html#config-files-location)
- `data`: the {{es}} [data directory](https://www.elastic.co/guide/en/elasticsearch/reference/current/path-settings-overview.html)
- `home`: the home directory of the user running {{es}}
Expand Down
Loading