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!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...