'实时'由于无限的Splunk Job性质,搜索不受支持

时间:2016-06-05 18:04:06

标签: spring splunk

通过Spring Splunk入站适配器执行实时搜索时出现以下错误。

SEVERE: org.springframework.messaging.MessagingException: search Splunk data failed; nested exception is java.lang.UnsupportedOperationException: The 'real-time' search isn't supported because of the infinite Splunk Job nature.

有人能告诉我如何从Spring应用程序执行实时搜索吗?

1 个答案:

答案 0 :(得分:0)

您需要在XML配置中设置模式:

mode="REALTIME"