QuestionQ21

VerifiedSearch Problems

A Splunk instance crashed, but no crash log was created. To determine which user activity caused the crash, the following search is run:

index=_internal sourcetype=splunkd ("pipelines finished" OR "My GUID")  
| transaction startswith="My GUID" endswith="pipelines finished" keepevicted=true keeporphans=true  
| search closed_txn=0  
| head 1  

What does searching for closed_txn=0 do in this search?

Explanation

For Splunk transaction results, closed_txn=0 identifies a transaction that was not closed by its defined closing condition. With startswith="My GUID" and the normal completion event represented by "pipelines finished", this retains evidence of a Splunk start that did not complete with a normal stop event. Splunk transaction command reference

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!