Can you preprocess a log file with Splunk and how?
We have an application that spits out log files that are difficult to parse with regexes, XML-parsers or like. You need a (Python) script that will read the data and spit out a more friendly log file format.
Now, we can run a cron job that converts the log files before exposing them to Splunk, but it would be much more convenient to have Splunk pick up the unfriendly files and process them internally before trying to parse and index them the normal way.
Is this possible?
I've tried to play with the "preprocessing_script" parameter in a custom props.conf but it doesn't seem to be picked up and the slunkd.conf (running in debug mode) doesn't hint of anything wrong. The config section is read, just not the preprocessing_script part it seems.
Running Splunk 3.3.2, community edition
Anton