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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...