Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spring-projects/spring-integration-splunk
https://github.com/spring-projects/spring-integration-splunk
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/spring-projects/spring-integration-splunk
- Owner: spring-projects
- Created: 2014-11-12T17:35:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-28T03:41:14.000Z (over 5 years ago)
- Last Synced: 2024-09-28T16:41:11.310Z (about 1 month ago)
- Language: Java
- Size: 297 KB
- Stars: 22
- Watchers: 18
- Forks: 34
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Spring Integration Splunk Adapter
=================================================The SI adapter includes Outbound Channel Adapter and Inbound Channel Adapter.
Inbound channel adapter :
-----------------------------------------------------------------------------
The Inbound channel adapter is used to read data from Splunk and output a message containing the data to a Spring Integration channel. There are 5 ways to get data from Splunk:* Blocking
* Non blocking
* Saved search
* Realtime
* Export### Blocking search:
```xml
```### Non blocking search:
```xml
```### Saved search:
```xml
```### Realtime search:
```xml
```### Export:
```xml
```Outbound channel adapter:
----------------------------------------------------------------------------------------------The Outbound channel adapter is used to write data to Splunk from a Spring Integration message channel. There are 3 types of data writers provided:
* submit - Use's Splunk's REST API. Appropriate for small or infrequent data loads. Posts data to a named index or the default if not specified.
* index - Streams data to a named index or the default if not specified.
* tcp - Streams data to a tcp port associated with a defined tcp input.The outbound channel adapter requires a child *-writer element which defines related attributes:
### Submit:
```xml
```### Index:
```xml
```### TCP
```xml
```*NOTE: The input must exist and be enabled on the server*
### Configuring The Splunk Server connection
```xml
```Alternatively, you can configure a Splunk Server failover mechanism
```xml
```Additional server properties include (see [splunk](https://docs.splunk.com/Documentation/Splunk/latest) documentation for details):
* app
* scheme
* scope
* ownerThe default host is *localhost* and the default port is *8089*. The *timeout* attribute indicates how long to wait for a connection in miliseconds.
Development
-----------------
### Build:./gradlew build
### Import the project to Eclipse:
To generate Eclipse metadata (e.g., .classpath and .project files), do the following:
./gradlew eclipse