Skip to main content

Ingests log files into Graphite where they can be visualized.

Project description

Overview

Graphite Log Feeder (GLF) is a generic tool that can parse application log files, extract meaningful data, and forward it to Graphite for visualizing. There is a parser included for ingesting data from The Grinder. This parser can be used as the basis for creating other parsers (for Apache, Scribe, your own application, or whatever.)

There is a similar tool – Logster – which also feeds log data to Graphite. However, Logster only supports realtime log analysis, whereas glf only supports non-realtime analysis, making the two tools complimentary.

Installation

GLF is installed via pip.

pip install graphite_log_feeder

Once pip has installed glf, you will need to generate a config file, and edit it to be suitable for your environment. Glf comes with a command-line option to generate a sample config file

graphite_log_feeder.py -e

This will generate a file named ‘glf.sample.conf’ which you can use as the basis for creating your own configuration.

There must be a running installation of Graphite on your network for GLF to forward data to. See the Graphite web site for details on setting up and configuring Graphite

http://graphite.wikidot.com/

Usage

(after adjusting the values in your sample config file to be appropriate for your environment)

graphite_log_feeder.py  <config_file>

Additional Resources

Java/JMX counters and application-level metrics can be fed to Graphite using the JMXTrans tool:

http://code.google.com/p/jmxtrans/

OS-level metrics (CPU, mem, etc.) can be fed to Graphite via quickstatd or collectd (with graphite plugin)

https://bitbucket.org/travis_bear/quickstatd

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphite_log_feeder-0.7.6.tar.gz (17.7 kB view details)

Uploaded Source

File details

Details for the file graphite_log_feeder-0.7.6.tar.gz.

File metadata

File hashes

Hashes for graphite_log_feeder-0.7.6.tar.gz
Algorithm Hash digest
SHA256 01ad482ce18474f27cdbffc28d67d51639207a6316e779fcf4db453f7bc509c4
MD5 8e69703cf0be555b862f1d197b79f558
BLAKE2b-256 af58d62106bfc793063ac6fc519bb37df0a185b8c1db1053c1bc71c0b2555fc9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page