Splunk Search

Can I search without using join?

mcaulsc
Path Finder

Hi,
I'm looking to improve performance and avoid the subsearch_maxout issue with a join on two source types.

I'm joining on a one to many field 'Correlator', srctypeA has will have one unique entry for 'Correlator' and srctypeB has multiple entries. So when my search on srctypeA returns a value for Correlator I want to timechart by a field in records with matching Correlator in srctypeB.

So the current search below works, I'm looking for better performing options if anyone has any suggestions.

index=index1 sourcetype=srctypeA field1=ABC* 
| join max=0 type=inner Correlator [ search index=index1 sourcetype=srctypeB ]
| timechart span=1d count by field2 
Labels (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust
0 Karma

mcaulsc
Path Finder

thanks,
thats is what I have been attempting and I get to the stats point ok with 121k events returned but trying to get the data into a timechart is eluding me at the moment.  

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Join has those limits (size of result set and timeout), which probably hits in your case.

Have you try Woodcock’s inner join example with stats and where? I suppose that it should help you.

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!

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...

Level Up Your Workflow: Mastering Splunk Cloud Management via Terraform

Tech Talk Recap   From Chaos to Control: Scaling Splunk Cloud with Infrastructure as Code Managing apps in ...