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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...