1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/logstash.md
2017-02-03 19:55:05 +00:00

468 B

logstash

An ETL (extract, transform and load) tool. Commonly used to load data from various sources, like databases and 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 {}'