<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:int="http://www.springframework.org/schema/integration"
	xmlns:int-splunk="http://www.springframework.org/schema/integration/splunk"
	xmlns:stream="http://www.springframework.org/schema/integration/stream"
	xmlns:context="http://www.springframework.org/schema/context"
	xsi:schemaLocation="http://www.springframework.org/schema/integration/stream http://www.springframework.org/schema/integration/stream/spring-integration-stream.xsd
		http://www.springframework.org/schema/integration/splunk http://www.springframework.org/schema/integration/splunk/spring-integration-splunk.xsd
		http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">

	<import resource="SplunkInboundChannelAdapterParserCommon-context.xml"/>

	<int-splunk:inbound-channel-adapter id="splunkInboundChannelAdapter"
		auto-startup="false"
		splunk-server-ref="splunkServer"
		channel="inputFromSplunk" mode="SAVEDSEARCH" earliest-time="-1d" latest-time="now"
		init-earliest-time="-1d" count="1000"
		saved-search="savedSearch" owner="admin" app="search">
		<int:poller fixed-rate="5000"/>
	</int-splunk:inbound-channel-adapter>

</beans>
