tldr/pages/common/logstash.md

16 lines
470 B
Markdown
Raw Normal View History

2017-02-03 19:52:44 +00:00
# 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 {}'`