Skip to content

askeing/regex2grok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regex2grok

Simplify the steps from regex to grok format.

Installation

Create virtualenv:

$ virtualenv .env-python
$ source .env-python/bin/activate
(.env-python) $

Install regex2grok:

(.env-python) $ python setup.py install

Usage:

(.env-python) $ regex2grok -h
Usage:
    regex2grok.py <regex_rules_file>
    regex2grok.py <regex_rules_file> <output_grok_template>
    regex2grok.py (-h | --help)
Options:
    -h --help               Show usage.
    <regex_rules_file>      The input RegEx rules file path.
    <output_grok_template>  The output grok template file path.

Run:

(.env-python) $ regex2grok input.ref.template 

About

Simplify the steps from regex to grok format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages