-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated configuration templates used in tests
The goal was to bring them closer to the new conventions we use in the configuration files, so what we test is closer to what we ship in terms of configuration. I also made steps in unifying the libbeat portion of these templates so we could remove the duplication in the future. Part of #1417.
- Loading branch information
Tudor Golubenco
committed
May 20, 2016
1 parent
7ee8ec7
commit dd69284
Showing
8 changed files
with
511 additions
and
524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
filebeat: | ||
prospectors: | ||
{% for prospector in prospectors %} | ||
- | ||
paths: | ||
- {{prospector.path}} | ||
input: log | ||
scan_frequency: 0.5s | ||
encoding: {{prospector.encoding | default("plain") }} | ||
{% endfor %} | ||
idle_timeout: 0.5s | ||
registry_file: {{ beat.working_dir + '/' }}{{ registryFile|default("registry")}} | ||
filebeat.prospectors: | ||
{% for prospector in prospectors %} | ||
- paths: | ||
- {{prospector.path}} | ||
scan_frequency: 0.5s | ||
encoding: {{prospector.encoding | default("plain") }} | ||
{% endfor %} | ||
filebeat.idle_timeout: 0.5s | ||
filebeat.registry_file: {{ beat.working_dir + '/' }}{{ registryFile|default("registry")}} | ||
|
||
output: | ||
file: | ||
enabled: true | ||
path: {{ output_file_path|default(beat.working_dir + "/output") }} | ||
filename: "{{ output_file_filename|default("filebeat") }}" | ||
rotate_every_kb: 1000 | ||
#number_of_files: 7 | ||
output.file: | ||
path: {{ output_file_path|default(beat.working_dir + "/output") }} | ||
filename: "{{ output_file_filename|default("filebeat") }}" | ||
rotate_every_kb: 1000 | ||
#number_of_files: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.