If anyone is like me and would be perfectly happy with a very ugly, shameless solution, then they can manipulate the page rather than Splunk. For example, I use a Chrome add-on called "Custom JavaScript for Websites 2." It lets me save JavaScript that gets run when a page-pattern loads. The script I'm running is this: function cleanCustom() {
window.cleanCustomGiveUpOn--;
if (window.cleanCustomGiveUpOn <= 0) {
clearInterval(window.cleanCustomInterval);
return;
}
var log_text = document.getElementsByTagName("pre");
if (log_text.length == 0) { return; }
console.log("cleaning custom...");
var log_text = log_text[0];
var log_lines = log_text.innerHTML.split('\n');
for (var i = 0; i < log_lines.length; i++) {
var line = log_lines[i];
if (line.includes("ChunkedExternProcessor")) {
line = line.replace("ERROR ChunkedExternProcessor ", "");
line = line.replace(" ChunkedExternProcessorStderrLogger] - stderr:", "]");
log_lines[i] = line;
}
}
log_text.innerHTML = log_lines.join("\n");
clearInterval(window.cleanCustomInterval);
}
window.cleanCustomGiveUpOn = 30;
window.cleanCustomInterval = setInterval(cleanCustom, 500); It looks for the pre that contains the search log for 15 seconds, and upon finding it will scrub out the stuff I don't want. Not a pretty solution, but an ugly solution for ugly logs seems oddly symmetrical.
... View more