mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-04 00:13:32 +02:00
logstash: add page (#1245)
This commit is contained in:
parent
b8dd048a93
commit
a969d6ebd8
1 changed files with 15 additions and 0 deletions
15
pages/common/logstash.md
Normal file
15
pages/common/logstash.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# logstash
|
||||||
|
|
||||||
|
> An ETL(extract, transform and load) tool, usually used to ingest data from various sources, like databases and flat log files into elasticsearch.
|
||||||
|
|
||||||
|
- Check validity of a logstash configuration:
|
||||||
|
|
||||||
|
`logstash --configtest --config {{logstash_config.conf}}`
|
||||||
|
|
||||||
|
- Run logstash using configuration:
|
||||||
|
|
||||||
|
`sudo logstash --config {{logstash_config.conf}}`
|
||||||
|
|
||||||
|
- Run logstash with the most basic inline configuration string:
|
||||||
|
|
||||||
|
`sudo logstash -e 'input {} filter {} output {}'`
|
Loading…
Add table
Reference in a new issue