tldr/pages/common/logstash.md
2019-06-05 23:42:48 -03:00

532 B

logstash

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