wiki:logstash_setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:logstash_setup [2024/08/30 12:02] – add datastreams howto antisa | wiki:logstash_setup [2024/10/17 13:05] (current) – [nginx logs using regular indices] add info about multiple file inputs antisa | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| </ | </ | ||
| + | <WRAP center round tip 60%> | ||
| + | You can also use multiple file inputs like so: | ||
| + | < | ||
| + | input { | ||
| + | file { path => [ | ||
| + | "/ | ||
| + | "/ | ||
| + | ] | ||
| + | } | ||
| + | } | ||
| + | ... | ||
| + | </ | ||
| + | </ | ||
| Above we're using a grok pattern named **NGINX_ACCESS** stored in patterns directory. Example of pattern: | Above we're using a grok pattern named **NGINX_ACCESS** stored in patterns directory. Example of pattern: | ||
| Line 215: | Line 227: | ||
| ====== See also ====== | ====== See also ====== | ||
| + | * [[wiki: | ||
| * [[wiki: | * [[wiki: | ||
| | | ||
wiki/logstash_setup.1725019341.txt.gz · Last modified: by antisa
