Splunk Search

Split transaction by new line

thomasreggi
New Member

I have a query like this:

213123123-231231230342 | transaction startswith="user login process start" endswith="user login process end"

Where it's returning the login flow for a given user. Similar to the out but below. How can I break all of the new lines in the results from the transaction into their own events?

alt text

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I'm not sure there's a way.
If you want separate events, why did you use transaction? It puts events together.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...