Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Splunk 社区版作为监控仪表板。我显示一个实时图表页面,我不时通过脚本刷新浏览器。
这一切都很好,但是我正在寻找一种方法来完成和删除在后台运行的作业,因为在社区版中可以显示多少实时图表以及当它刷新浏览器时它似乎运行到一段时间后限制。
因此,我如何安排旧作业的完成和删除?(可能是我可以不时删除的文件)
我已经通过将它放在我的仪表板视图顶部(由 XML 标记包围)来克服它:
< view autoCancelInterval="5" template="dashboard.html" >
自动取消间隔设置为 5 秒。这意味着当搜索变为非活动状态 5 秒或更长时间时,它将自动取消搜索运行。