Splunk Search

Help with alert search with join or append?

VijaySrrie
Builder
index=cat        
         
  Name Place ID  
  jack delhi 1  
  jill melbourne 2  
         
         
index=dog        
  Country number    
  Australia 2    
  India 1    
         
ID field in cat and number field in dog are same, I need below output    
         
  Name Place ID Country
  jack delhi 1 India
  jill melbourne 2 Australia
Labels (2)
Tags (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
index=cat OR index=dog
| rename number as ID
| stats values(*) as * by ID
0 Karma

VijaySrrie
Builder

Hi @ITWhisperer ,

Thanks for the reply, I have pasted the answer that worked for me.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...