Skip to content

Instantly share code, notes, and snippets.

====================================================================
HOW TO INSTALL FROM CODE/INSTALLING GIT FROM SOURCE:
====================================================================
Step 1 – Prerequsities:
----------------------
$ yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
$ yum install gcc perl-ExtUtils-MakeMake
Step 2 – Install Git on CentOS:
@MHMDhub
MHMDhub / scp-cheatsheet.md
Created April 23, 2022 11:00 — forked from dehamzah/scp-cheatsheet.md
SCP Cheatsheet

Basic Syntax

$ scp source_file_path destination_file_path

Uploading

Single file

@MHMDhub
MHMDhub / Logstash-Pipeline-Example-Part1.md
Created January 11, 2026 18:04 — forked from devops-school/Logstash-Pipeline-Example-Part1.md
Logstash Pipeline Config file Example

The Grok plugin is one of the more cooler plugins. It enables you to parse unstructured log data into something structured and queryable. Grok is looking for patterns in the data it’s receiving, so we have to configure it to identify the patterns that interest us. Grok comes with some built in patterns. The pattern we are using in this case is %{COMBINEDAPACHELOG}which can be used when Logstash is receiving log data from Apache HTTP.

input {
    beats {
        port => "5044"
    }
}