Splunk Search

remove lines containing stack trace

asalinas
New Member

Hello, I just started to use Splunk to search and generate reports from logs collected from a Java application. Sometimes the logs contain errors and the corresponding stack trace.
To generate reports I would like to remove all the lines containing the stack traces.
Because those lines don't start with a timestamp I'm wondering if it is possible to remove all the log lines that don't start with a time stamp.
But if there are other ways to accomplish the same thing I'd appreciate any help.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...