The universal pipeline, or the parsing pipeline, is where events are input, processed and output to the indexing pipeline.
Modules, pipelines and queuesBelow is a list of the processors, in order executed, that make up the default universal pipeline. You can see this in the pipeline "parsingPipeline" in $SPLUNK_HOME/etc/myinstall/splunkd.xml file.
The processors that make up what is called the Universal pipeline can be reconfigured or replaced by creating a new module with your custom processing pipeline.
The Splunk processor loading architecture supports the ability to insert a processor before, after or instead of another processor. If you are extending splunk by providing your own processor or wish to change the processing pipelines defined in splunkd.xml it is recommended that you define your processor in a new module and use the "insertBefore", "insertAfter", or "replace" attribute.
For example, lets suppose you wanted to add a processor "replaceProcessor" just before the "indexer" processor:
Here is the config.xml for an example replaceProcessor (uses an example urlencodeprocessor.) It will insert the "replaceProcessor" before the "indexer" processor in the "indexerPipe" pipeline:
<module>
<processor name="replaceProcessor" plugin="urlencodeProcessor" action="insertBefore" target="indexer" pipelineTarget="indexerPipe" >
<config></config>
</processor>
</module>Custom processors can provide data input and handling not available by other methods. You can add to the existing default processing or replace it by changing the configuration of Splunk pipelines.
Comments
This page should explain at the beginning what modules and processors are in relation to one another. I would add it but I don't think I would get it right.
Posted by deeann on Aug 13 2007, 4:55pm