Skip to content

Commit

Permalink
Clarify how cli options affect settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton committed Mar 3, 2017
1 parent 7133091 commit a2436eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/static/running-logstash-command-line.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ the `mypipeline.conf` file:
bin/logstash -f mypipeline.conf
----

Any flags that you set at the command line override the corresponding settings
in the Logstash <<logstash-settings-file,settings file>>, but the settings file
itself is not changed. It remains as-is for subsequent Logstash runs.

Specifying command line options is useful when you are testing Logstash.
However, in a production environment, we recommend that you use the Logstash
<<logstash-settings-file,settings file>> to control Logstash execution. Using
the settings file makes it easier for you to specify multiple options, and it
provides you with a single, versionable file that you can use to start up
Logstash consistently for each run.

Any flags that you set at the command line override the corresponding settings
in the Logstash <<logstash-settings-file,settings file>>.

[[command-line-flags]]
==== Command-Line Flags

Expand Down

0 comments on commit a2436eb

Please sign in to comment.