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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...