Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

22
logstash Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 {}'`