The first step is to make sure that ImageFactory is installed on your computer. To install it,
$ sudo dnf install imagefactory
#!/usr/bin/env bash | |
# bash 3.2.25(1) Ubuntu 7.10 Date : 2012-02-15 | |
# | |
# _______________| freqy : sort and order lines by frequency of appearance. | |
# | |
# Usage: freqy [optional: file(s)] | |
# | |
# Notes: Will work in a pipe. | |
# Does not alter the file(s) themselves. | |
# |
# This is the simplest definition, with the addition of a type | |
input { | |
udp { | |
port => 25826 # Must be specified. 25826 is the default for collectd | |
buffer_size => 1452 # Should be specified. 1452 is the default for recent versions of collectd | |
codec => collectd { } # This will invoke the default options for the codec | |
type => "collectd" | |
} | |
} |
input { | |
tcp { | |
port => 19532 | |
type => journald | |
} | |
} | |
filter { | |
if [type] == "journald" { | |
multiline { |
#!/bin/bash | |
# -------------------------------- | |
# Totally Simple Web Server (TSWS) | |
# -------------------------------- | |
# | |
# (c) 2015 Dave Fletcher | |
# All Rights Reserved | |
# | |
# This is free and unencumbered software released into the public domain. |