liblognorm bindings for Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
c_lib
.gitignore
COPYING
Makefile
README.md
setup.py

README.md

liblognorm Python bindings

Liblognorm is a log normalization library capable of real-time processing. It can convert logs from flat string-blob format to one of several standard formats (e.g. CEE or JSON).

This is a Python bindings for liblognorm 1.1.x.

Usage

import liblognorm
import sys
import json

print liblognorm.version() # version liblognorm (not the binding module)

rulebase = "parsing.rules"
lognorm = liblognorm.Lognorm(rulebase)
log_line = sys.stdin.readline()
event = lognorm.normalize(log_line.rstrip("\n"))
print json.dumps(event)

Contact and License

python-liblognorm is written by Stanislaw Klekot for Korbank S.A http://korbank.com/. The primary distribution point is https://github.com/korbank/python-liblognorm.

python-liblognorm is distributed under 3-clause BSD license. See COPYING file for details.