Skip to content

Instantly share code, notes, and snippets.

View infused's full-sized avatar

Keith Morrison infused

View GitHub Profile
@GaryRogers
GaryRogers / RSyslogSetup.md
Last active October 5, 2023 22:51
RSyslog Forwarding Setup

RSyslog Forwarding Setup

Overview

I'm looking to centralize logging for our dev team into Elasticsearch via Logstash. The wrinkle is that we aren't a Java shop, so installing java on our hosts just to ship logs back to a central Logstash indexer is something we'd like to avoid. So, I'm approaching things as a chance to understand RSyslog and its capabilities as a log shipper.

Procedure

Set up TCP listening on the log index host

Uncomment the following lines in /etc/rsyslog.conf. This will enable the rsyslog daemon to listen for incoming requests on TCP port 514. We're using TCP here so that we can have some confidence that the messages from the agent hosts reach the indexer. (More on this below)

@infused
infused / new_laptop_setup.md
Created November 13, 2012 18:33
My new laptop setup log
  • Finder menu -> Go -> Utilities and launch Terminal
  • Control-click Terminal in the Dock and enable Options -> 'Keep in Dock'
  • Trackpad prefs enable tap to click with one finger
  • Prefs -> Software Update and install 5 items including a new firmware update that requires a reboot
  • While waiting, launch App Store and install Evernote and Black Magic Disk Speed Test, and Skitch
  • Run BM Disk Speed test Write 404.3 MB/s, Read 450.4 MB/s!
  • Launch Skitch, login to Evernote and set to only show in the menu bar Note that when sharing with Skitch the confirmation dialog is barely visible