Skip to content

Commit 39d2eb9

Browse files
author
Guy Boertje
authored
Merge pull request #154 from jmcarp/document-prefix
Document prefix interpolation.
2 parents 9b73ce6 + e48a5d2 commit 39d2eb9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/index.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ Specify the content encoding. Supports ("gzip"). Defaults to "none"
170170
* Default value is `""`
171171

172172
Specify a prefix to the uploaded filename, this can simulate directories on S3. Prefix does not require leading slash.
173-
This option support string interpolation, be warned this can created a lot of temporary local files.
173+
This option supports logstash interpolation: https://www.elastic.co/guide/en/logstash/current/event-dependent-configuration.html#sprintf;
174+
for example, files can be prefixed with the event date using `prefix = "%{+YYYY}/%{+MM}/%{+dd}"`.
175+
Be warned this can created a lot of temporary local files.
174176

175177
[id="plugins-{type}s-{plugin}-proxy_uri"]
176178
===== `proxy_uri`
@@ -324,4 +326,4 @@ In some circonstances you need finer grained permission on subfolder, this allow
324326

325327

326328
[id="plugins-{type}s-{plugin}-common-options"]
327-
include::{include_path}/{type}.asciidoc[]
329+
include::{include_path}/{type}.asciidoc[]

0 commit comments

Comments
 (0)