Getting Data In

join is skipping rows

jiaqya
Builder

csv files has 70k entries and when i join it with index which has 30k rows, it fails to join random records even when data is available.

when i specify the record before and after join it picks up the value.

any idea if this is due to any kind of limitation.

0 Karma

woodcock
Esteemed Legend

Join is subject to subsearch and RAM limits. Do not use it. Use ... | stats values(*) AS * BY <joinerfield here> instead.

0 Karma

Vijeta
Influencer

@jiaqya It may be due to subsearch limitation of 10K records, hence your join subsearch is not returning all records. You should try avoiding the join and use lookup command instead.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Which form of join are you using? Please share your query.

---
If this reply helps you, Karma would be appreciated.
0 Karma

jiaqya
Builder

join type=left [|inputlookup

0 Karma

koshyk
Super Champion

You need to put the "KEY" which are you joining upon

so
| join type=left COMMONKEY [|inputlookup ..

0 Karma

jiaqya
Builder

yes correct, i have used it the same same.
i get results for some records from the file and some i do not..

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...