简体   繁体   English

splunk 将每一行堆栈跟踪报告为一个单独的事件

[英]splunk is reporting each line of stacktrace as a separate event

Our splunk instance is showing each line of a java stacktrace as a separate event.我们的 splunk 实例将 java 堆栈跟踪的每一行显示为一个单独的事件。

在此处输入图片说明

Can we fix it without changing our java code?我们可以在不更改我们的 Java 代码的情况下修复它吗? Thank you.谢谢你。

The paucity of information about the events make it hard to be specific about the solution.有关事件的信息很少,因此很难具体说明解决方案。 You need to update the props.conf settings for that sourcetype so the multiple lines of the traceback are merged into a single event.您需要更新该源类型的 props.conf 设置,以便将多行回溯合并为一个事件。 There are a number of ways to do that, including SHOULD_LINEMERGE=true and BREAK_ONLY_BEFORE_DATE=true .有很多方法可以做到这一点,包括SHOULD_LINEMERGE=trueBREAK_ONLY_BEFORE_DATE=true

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM