Im trying to join two tables which have a common field but its not giving complete data as the tables have more than a lakh rows .? Is there any other option rather than join to combine the two tables
@yashaswinig2210, if I get it right try below;
| inputlookup firstLookup | append [ |inputlookup secondLookup ]
| stats values(field1) values(field2) by common_field
Hi @yashaswinig2210, on most cases you can use stats rather than join.
Sample query;
| (index=first_index search_criteria_1) OR (index=second_index search_criteria_2)
| stats values(field1) values(field2) by common_field
You can get more information about join vs stats in below document.
https://docs.splunk.com/Documentation/Splunk/8.1.1/Search/Abouteventcorrelation
If this reply helps you, an upvote is appreciated.