You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its fairly easy to add new regexes, need to add them into this file - https://github.com/dmulyalin/ttp/blob/master/ttp/patterns/get_pattern.py - can add a few if you have a need for any particular of them but I am personally has no need for all grok regexes, besides, match variable re function allows to source your own regexes, including from variables or local files.
If you feel like to, maybe you can raise a pull request and add new patterns to above file, but also need to add tests for each new regex and update documentation accordingly.
grok is a Logstash filter with a similar functionality to TTP. It includes a list of commonly used regex patterns.
This would be a nice addition to TTP. Thank you for writing this awesome library!
The text was updated successfully, but these errors were encountered: