-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c32983e
commit 519eee5
Showing
3 changed files
with
37 additions
and
11 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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[[logstash-settings-file]] | ||
=== Settings File | ||
|
||
coming[5.0.0-alpha3] | ||
|
||
You can set options in the Logstash settings file, `logstash.yml`, to control Logstash execution. Each setting in the | ||
`logstash.yml` file corresponds to a <<command-line-flags,command-line flag>>. | ||
|
||
Any flags that you set at the command line override the corresponding settings in the `logstash.yml` file. | ||
|
||
The `logstash.yml` file, which is written in http://http://yaml.org/[YAML], is located in `LOGSTASH_HOME/config`. You can | ||
specify settings in hierarchical form or use flat keys. For example, to use hierarchical form to set the pipeline batch | ||
size and batch delay, you specify: | ||
|
||
[source,yaml] | ||
------------------------------------------------------------------------------------- | ||
pipeline: | ||
batch: | ||
size: 125 | ||
delay: 5 | ||
------------------------------------------------------------------------------------- | ||
|
||
To express the same values as flat keys, you specify: | ||
|
||
[source,yaml] | ||
------------------------------------------------------------------------------------- | ||
pipeline.batch.size: 125 | ||
pipeline.batch.delay: 5 | ||
------------------------------------------------------------------------------------- | ||
|
||
See <<command-line-flags>> for a description of the available options. |