[Tutor] Using Regex from Configuration File

2008-06-20 Thread Tyler Rutschman
Hello everyone, I'm new to python and have set up a program to parse through reports. The script has started very basic and I've been folding in additional features as it moves along. What it does is takes a specified log file (exported from splunk) and parses through it with a regex specific to t

[Tutor] How to set up dispatch function

2008-06-20 Thread Tyler Rutschman
Hello again everyone, I'm trying to add another fold into my log reporting script. I would like to set up a dispatch function to find the proper report format for the indicated configuration. The function would need to recognize the configuration and call a function that will parse the data and ge