Skip to content

Instantly share code, notes, and snippets.

@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"
    }
}
@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 / homebrew.sh
Created February 25, 2017 20:06 — forked from geekygecko/homebrew.sh
Homebrew
# Howebrew package manager for OS X is useful for installing unix terminal tools.
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
# Install wget
brew install wget
brew install openssl
# Update homebrew and all your packages