Welcome to my technical portfo...
SRE
Tutorial: Logstash
9 min
https //github com/logpai/loghub https //github com/logpai/loghub logstash is a free and open server side data processing pipeline that ingests data from many sources, transforms it, and then sends it to your favorite "stash " overview this guide will configuring logstash involves the following steps installing logstash configuring the input plugins configuring the filter plugins configuring the output plugins starting logstash monitoring logstash the exact configuration of logstash will depend on your specific use case and requirements you should familiarize yourself with the logstash documentation and plugins before attempting to configure logstash 1 | install logstash to install logstash, you can download the distribution package for your operating system or use a package manager like apt or yum 2 | configure input plugins input plugins are responsible for ingesting data into logstash you need to specify the type of data you want to collect, such as logs from a file, syslog messages, or events from a database in the logstash configuration file, you can specify the input plugin and parameters 3 | configure filter plugins filter plugins are responsible for transforming and manipulating the data as it passes through logstash you can use filter plugins to perform operations such as grok pattern matching, setting or modifying fields, and converting data between formats 4 | configure output plugins output plugins send processed data to a specified destination some common destinations include elasticsearch, email, or a file in the logstash configuration file, you can specify the output plugin and parameters 5 | start logstash a fter configuring the input, filter, and output plugins, you can start logstash by executing the binary file in the command line for example, if logstash is installed in the /usr/share/logstash directory, you can start it with the following command 5 1 | check status to check the status of logstash, you can use the following command this command will display the current state of logstash, such as whether it is running or stopped and the number of processed events 5 2 | view pipeline configuration the pipeline configuration 6 | monitor logstash y ou can monitor logstash using the following tools the logstash command line interface (cli) the logstash api a web interface like kibana 6 1 | monitor logstash cli 6 2 | monitor logstash api 6 3 | monitor logstash kibana