Splunk Search

Join Same Saved Search

sanjay_shrestha
Contributor

Hi,

I created generic saved search and it is running fine individually as below

|savedsearch PausedTime_SS index_name=one_index

However, when I called them twice and joined them with common field

|savedsearch PausedTime_SS index_name=one_index
|join Day [|savedsearch PausedTime_SS index_name=other_index]

I am getting following:

Error in 'SearchParser': Found circular dependency when expanding savedsearch=PausedTime_SS

Is it possible to join same saved searches?

Thanks,

Sanjay

Tags (2)

richgalloway
SplunkTrust
SplunkTrust

Have a look at the selfjoin command. See http://docs.splunk.com/Documentation/Splunk/6.0.1/SearchReference/Selfjoin

---
If this reply helps you, Karma would be appreciated.
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 ...