splunk/src/main/java/org/apache/camel/example/splunk/search/SplunkSearchRouteBuilder.java [24:35]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void configure() throws Exception {

        log.info("About to setup Splunk search route: Splunk Server --> log{results}");

        // configure properties component
        getContext().getPropertiesComponent().setLocation("classpath:application.properties");

        from("splunk://normal?host={{splunk.host}}&port={{splunk.port}}&delay=10000"
                + "&username={{splunk.username}}&password={{splunk.password}}&initEarliestTime=08/17/13 08:35:46:456"
                + "&sourceType=access_combined_wcookie&search=search Code=D | head 5")
                .log("${body}");
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



splunk/src/main/java/org/apache/camel/example/splunk/savedsearch/SplunkSavedSearchRouteBuilder.java [24:34]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void configure() throws Exception {
        log.info("About to setup Splunk 'saved-search' route:Splunk Server --> log{results}");

        // configure properties component
        getContext().getPropertiesComponent().setLocation("classpath:application.properties");

        from("splunk://savedsearch?host={{splunk.host}}&port={{splunk.port}}&delay=10000"
                + "&username={{splunk.username}}&password={{splunk.password}}&initEarliestTime=08/17/13 08:35:46:456"
                + "&savedSearch=failed_password")
                .log("${body}");
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



