Does Splunk provide API for an external application to read the parsed data and generate the output for Splunk to display?
We plan to implement proprietary algorithm to detect anomaly in logs, but yet leverage on splunk's data collection/parsing and visualization capability.
Splunk provides a REST API (http://dev.splunk.com/view/rest-api-overview/SP-CAAADP8 ) that external applications can use to perform queries. This API cannot however (at least not easily) in itself be used for writing back results directly into Splunk. There are a number of options for how to achieve this though.
Only the dynamic lookup option meets the requirement of showing externally analysed results from some specific query directly back to the user.
Already been done - see the Prelert Anomaly Detective
Regrading the getting data back into Splunk ,you can certainly also do this via REST using the receivers/simple or receivers/stream endpoints.
Also ,check out the SDKs at dev.splunk.com , will help you to get up and running with the REST API a lot quicker.
Splunk provides a REST API (http://dev.splunk.com/view/rest-api-overview/SP-CAAADP8 ) that external applications can use to perform queries. This API cannot however (at least not easily) in itself be used for writing back results directly into Splunk. There are a number of options for how to achieve this though.
Only the dynamic lookup option meets the requirement of showing externally analysed results from some specific query directly back to the user.
Complete documentation of the REST API is available at http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTcontents