This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://www.apache.org/licenses/ with 12 occurrences migrated to: https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200). * [ ] http://www.apache.org/licenses/LICENSE-2.0 with 345 occurrences migrated to: https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
Spring Integration Splunk Sample
This sample demonstrates the usage of the Spring Integration Splunk adapters.
Requirements
Splunk Server
You need to install or have access to a Splunk Server. You can download Splunk from:
Data Inputs
Depending on your Splunk Server installation, you may have to open up a TCP by adding an additional data input. E.g. the sample uses TCP port 9999.
For instructions please see:
Spring Integration Splunk dependencies
The sample application depends on the Spring Integration Splunk support. As of Oct 1, 2012, the dependencies for Spring Integration Splunk are available through the SpringSource Maven Repository:
However, if you prefer, you can manually build the Spring Integration Splunk project. In order order to do so, follow the following steps:
- Change to folder
spring-integration-extensions/spring-integration-splunk - Execute
./gradlew publish
This should install the Spring Integration Splunk jar files to your local Maven repository. Please see the Spring Integration Splunk project for further information.
Generate the Eclipse project:
Now you can generate the Eclipse project for the provided sample:
- Change to folder
samples/splunk - Execute
./gradlew eclipse
Run the example applications
- Update the Splunk server info in
src/main/resources/org/springframework/integration/samples/splunk/SplunkCommon-context.xml - Run the main classes.
You may want to run the Outbound Channel Adapter application first in order to push some data into Splunk. After that, run the Inbound Channel Adapter application to read the data.
Outbound Channel Adapter
- Submit: SplunkOutboundChannelAdapterSubmitSample
- Tcp: SplunkOutboundChannelAdapterTcpSample
- Stream: SplunkOutboundChannelAdapterStreamSample
Inbound Channel Adapter
- Blocking search: SplunkInboundChannelAdapterBlockingSample
- Non blocking search: SplunkInboundChannelAdapterNonBlockingSample
- Realtime search: SplunkInboundChannelAdapterRealtimeSample
- Export search: SplunkInboundChannelAdapterExportSample
- Saved search: SplunkInboundChannelAdapterSavedSample