I am writing a unit test for the logstash pipeline. I need to extract all the grok type filters and test those in an isolated environment. Tests will be executed for each filter separately. I Can't use java for this filter tokenizations and any of you know any proper approach (scripting mechanism) or technology that I can use to extract the subfilters from the configuration file? Are there any mechanisms provided within logstash or any other developed framework for this?