1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/logstash.md
2021-08-15 19:59:09 +02:00

17 lines
549 B
Markdown

# 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.
> More information: <https://www.elastic.co/products/logstash>.
- 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 {}'`