Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix template for output filename and path #4475

Merged
merged 1 commit into from
Jun 9, 2017
Merged
Changes from all 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 generator/beat/{beat}/tests/system/config/{beat}.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ output:
enabled: true

# Path to the directory where to save the generated files. The option is mandatory.
path: {{ '{{' }} output_file_path|default(beat.working_dir + "/output") {{ '}}' }}
path: {{ output_file_path|default(beat.working_dir + "/output") }}


# Name of the generated files. The default is `{beat}` and it generates
# files: `{beat}`, `{beat}.1`, `{beat}.2`, etc.
filename: "{{ '{{' }} output_file_filename|default("{beat}") {{ '}}' }}"
filename: {{ output_file_filename|default("{beat}") }}

# Maximum size in kilobytes of each file. When this size is reached, the files are
# rotated. The default value is 10 MB.
Expand Down