Skip to content
Edward Perry edited this page Jun 24, 2015 · 8 revisions

This plugin is to read the /proc virtual file system , decode the files in it. I am using the following pages for reference http://man7.org/linux/man-pages/man5/proc.5.html

Cpuinfo

LoadAverage

Mounts

Pidstats

Sysipcshm

Wireless

Crypto

DiskStats

Meminfo

netdev

VmStats

Logstash Plugin

To install for use

${LS_HOME}/bin/plugin install logstash-input-proc

Example Config features enabled

(see the logstash.conf in the repo for the most current example settings)

input {
    proc {
        interval=>60
        vmstats =>{ }
        loadavg =>{ }
        meminfo =>{ }
        pidstats =>{ 
            user => "root"
        }
        
    }
}

output { 
    stdout{ 
        codec=>"rubydebug"
    }
}

##Example Minimal

input {
    proc {
        interval=>60
        meminfo =>{ }
    }
}

output { 
    stdout{ 
        codec=>"rubydebug"
    }
}
Clone this wiki locally