mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
parent
97740ab49c
commit
0ca5c2375e
2 changed files with 21 additions and 1 deletions
2
docs/static/command-line-flags.asciidoc
vendored
2
docs/static/command-line-flags.asciidoc
vendored
|
@ -77,7 +77,7 @@ With this command, Logstash concatenates three config files, `/tmp/one`, `/tmp/t
|
|||
and `NAME` is the name of the plugin.
|
||||
|
||||
*`-l, --path.logs PATH`*::
|
||||
Directory to Write Logstash internal logs to.
|
||||
Directory to write Logstash internal logs to.
|
||||
|
||||
*`--log.level LEVEL`*::
|
||||
Set the log level for Logstash. Possible values are:
|
||||
|
|
20
docs/static/glob-support.asciidoc
vendored
20
docs/static/glob-support.asciidoc
vendored
|
@ -28,3 +28,23 @@ to using alternation with the vertical bar in regular expressions (`foo|bar`).
|
|||
*`\`*::
|
||||
Escape the next metacharacter. This means that you cannot use a backslash in Windows
|
||||
as part of a glob. The pattern `c:\foo*` will not work, so use `foo*` instead.
|
||||
|
||||
[float]
|
||||
[[example-glob-patterns]]
|
||||
==== Example Patterns
|
||||
|
||||
Here are some common examples of glob patterns:
|
||||
|
||||
*`"/path/to/*.conf"`*::
|
||||
Matches config files ending in `.conf` in the specified path.
|
||||
|
||||
*`"/var/log/*.log"`*::
|
||||
Matches log files ending in `.log` in the specified path.
|
||||
|
||||
*`"/var/log/**/*.log`*::
|
||||
Matches log files ending in `.log` in subdirectories under the specified path.
|
||||
|
||||
*`"/path/to/logs/{app1,app2,app3}/data.log"`*::
|
||||
Matches app log files in the `app1`, `app2`, and `app3` subdirectories under the
|
||||
specified path.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue