Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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 binding for liblognorm 2.0.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.

About

liblognorm bindings for Python

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.