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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.    Watch On-Demand   In this Tech Talk, Splunk platform specialists ...

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...