通过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应用程序执行实时搜索吗?
答案 0 :(得分:0)
您需要在XML配置中设置模式:
mode="REALTIME"