1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/logstash.md

18 lines
549 B
Markdown
Raw Normal View History

2017-02-04 01:22:44 +05:30
# logstash
> An Elasticsearch ETL (extract, transform and load) tool.
> Commonly used to load data from various sources (such as databases and log files) into Elasticsearch.
2019-06-05 08:55:55 +01:00
> More information: <https://www.elastic.co/products/logstash>.
2017-02-04 01:22:44 +05:30
- Check validity of a Logstash configuration:
2017-02-04 01:22:44 +05:30
`logstash --configtest --config {{logstash_config.conf}}`
- Run Logstash using configuration:
2017-02-04 01:22:44 +05:30
`sudo logstash --config {{logstash_config.conf}}`
- Run Logstash with the most basic inline configuration string:
2017-02-04 01:22:44 +05:30
`sudo logstash -e 'input {} filter {} output {}'`