fxnn / gowatch

Configurable logfile analysis for your server.
MIT License
8 stars 2 forks source link

Allow for adding grok patterns #2

Open fxnn opened 9 years ago

fxnn commented 9 years ago

The config file should provide a means of adding grok patterns, ether by naming a file in the usual format

PATTERN_NAME (my)?p[at]tern

or by just providing patterns inside the yaml file. The syntax could be

patterns: {
    PATTERN_NAME: '(my)?p[at]tern'
}
patternsource: /path/to/patternfile