Splunk Search

How to add join in one index

rj12
Loves-to-Learn Lots

This is the piece of code i tried so far but the join part is not working for me i don't know why 

((index="ata" sourcetype="s:sv" y_id>=4  te>= [| makeresults
|eval start_date=strftime(relative_time(now(), "-30d@d"),"%Y-%m-%dT%H:%M:%SZ") | fields start_date | return $start_date] earliest=-90d@d [|join type="inner" id [search index="ys_kb" sourcetype="lys:b_l" y_id>=4
ble=1 | dedup id | fields id |return id ]]) OR (index="s_ata" sourcetype="lys:h_xl" os=* earliest=-90d@d))
Labels (1)
0 Karma

renjith_nair
Legend

@rj12,

Probably you could explain what are you trying to achieve. There might be a better solution than Join

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

rj12
Loves-to-Learn Lots

Actually I want to use join in that particularly since the number of rows is more than 10,000

I tried using "inline search" but it not giving complete result Actually I was looking for the id that is  present in that index ="ys_kb" 

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...