NAME

Log::Saftpresse::Plugin::GraphitLineFormat - read metric values from logs and export them as counters

VERSION

version 1.6

Description

This plugin parses the graphit line format.

Synopsis

  <Plugin graphit>
    module = "GraphitLineFormat"
  </Plugin>

Input Format

The plugin expects a events with

  'program' => 'metric'

and a 'message' field in graphit plaintext format:

  'message' => '<metric path> <metric value> <metric timestamp>'

Output

This plugin will add the following fields:

type

The value: 'metric'.

path

The metric path.

value

The metric value.

timestamp

The metric timestamp.

AUTHOR

Markus Benning <ich@markusbenning.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 1998 by James S. Seymour, 2015 by Markus Benning.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991