<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why am I able to get values via joining on an input lookup command, but cannot get values when using the actual look in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654574#M226147</link>
    <description>&lt;P&gt;Yes, that's definitely a possibility - if the knowledge bundle replication size exceeds the limit, the bundle won't get replicated and you will get exactly the behaviour you're seeing, i.e. different results depending on where the looking is being done.&lt;/P&gt;&lt;P&gt;Any large lookup created by someone else in any app can cause this to occur - I've had an issue where someone created a 5GB lookup (as a temp result set) and so it broke replication.&lt;/P&gt;&lt;P&gt;There are some settings in distsearch.conf that can affect what gets replicated and this is sometimes configured to prevent lookups from breaking replication&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.0/Admin/Distsearchconf#.27classic.27_REPLICATION-SPECIFIC_SETTINGS" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.0/Admin/Distsearchconf#.27classic.27_REPLICATION-SPECIFIC_SETTINGS&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;concerningReplicatedFileSize&lt;/PRE&gt;&lt;PRE&gt;excludeReplicatedLookupSize&lt;/PRE&gt;&lt;P&gt;join will run on the search heads, whereas your lookup example will run on the indexer.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2023 00:34:49 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-08-17T00:34:49Z</dc:date>
    <item>
      <title>Why am I able to get values via joining on an input lookup command, but cannot get values when using the actual lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654395#M226109</link>
      <description>&lt;P&gt;I have a sourcetype that is exhibiting very odd behavior.&amp;nbsp; If I try to run a lookup command such as the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=index_here sourcetype=sourcetype_here
|lookup lookup_name JoiningID as JoiningID output Value1 Value2&lt;/LI-CODE&gt;&lt;P&gt;It will not give me Value1 or Value2 in my results, however if I instead run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=index_here sourcetype=sourcetype_here
|join type=left JoiningID [|inputlookup lookup_name]&lt;/LI-CODE&gt;&lt;P&gt;I get the Value1 and Value2 here joined in no problem.&amp;nbsp; What are some reasons for the actual lookup command not giving me any values?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 18:48:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654395#M226109</guid>
      <dc:creator>briancronrath</dc:creator>
      <dc:date>2023-08-15T18:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I able to get values via joining on an input lookup command, but cannot get values when using the actual look</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654428#M226120</link>
      <description>&lt;P&gt;A likely cause is that you uploaded a CV file and named it&amp;nbsp;&lt;U&gt;&lt;FONT face="andale mono,times"&gt;lookup_name&lt;/FONT&gt;&lt;/U&gt;, but did not define a lookup named&amp;nbsp;&lt;U&gt;&lt;FONT face="andale mono,times"&gt;lookup_name&lt;/FONT&gt;&lt;/U&gt;. &amp;nbsp;This is a quirk in Splunk. &amp;nbsp;It doesn't give you an error when you use the filename as lookup name but don't define a lookup with that name. &amp;nbsp;See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Usefieldlookupstoaddinformationtoyourevents" target="_blank" rel="noopener"&gt;Define a CSV lookup in Splunk Web&lt;/A&gt;&amp;nbsp;if you need help setting one up.&lt;/P&gt;&lt;P&gt;Personally, I often name my files with .csv, and my lookups without .csv. &amp;nbsp;This can reduce confusions like this.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 06:21:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654428#M226120</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-08-16T06:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I able to get values via joining on an input lookup command, but cannot get values when using the actual look</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654451#M226128</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/207387"&gt;@briancronrath&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;said, when you create a lookup, you have also to create a lookup definition [Settings &amp;gt; Lookups &amp;gt; Lookup Definitinon].&lt;/P&gt;&lt;P&gt;In this way you can use the lookup using the lookup command.&lt;/P&gt;&lt;P&gt;Only for conclusion: the lookup command is a left join correlation, but in general, use the join command only when you haven't any other solution and when you have few data to join, otherwise, you'll have very slow searches.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 09:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654451#M226128</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-16T09:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I able to get values via joining on an input lookup command, but cannot get values when using the actual look</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654535#M226139</link>
      <description>&lt;P&gt;Digging in further it looks like it might be an issue with replication.&amp;nbsp; If I put local=true on the lookup call I seem to get results.&amp;nbsp; Most other lookups don't have this issue, wondering if there is some odd state that could occur where a specific lookup file isn't replicated?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 18:01:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654535#M226139</guid>
      <dc:creator>briancronrath</dc:creator>
      <dc:date>2023-08-16T18:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I able to get values via joining on an input lookup command, but cannot get values when using the actual look</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654574#M226147</link>
      <description>&lt;P&gt;Yes, that's definitely a possibility - if the knowledge bundle replication size exceeds the limit, the bundle won't get replicated and you will get exactly the behaviour you're seeing, i.e. different results depending on where the looking is being done.&lt;/P&gt;&lt;P&gt;Any large lookup created by someone else in any app can cause this to occur - I've had an issue where someone created a 5GB lookup (as a temp result set) and so it broke replication.&lt;/P&gt;&lt;P&gt;There are some settings in distsearch.conf that can affect what gets replicated and this is sometimes configured to prevent lookups from breaking replication&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.0/Admin/Distsearchconf#.27classic.27_REPLICATION-SPECIFIC_SETTINGS" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.0/Admin/Distsearchconf#.27classic.27_REPLICATION-SPECIFIC_SETTINGS&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;concerningReplicatedFileSize&lt;/PRE&gt;&lt;PRE&gt;excludeReplicatedLookupSize&lt;/PRE&gt;&lt;P&gt;join will run on the search heads, whereas your lookup example will run on the indexer.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 00:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-able-to-get-values-via-joining-on-an-input-lookup/m-p/654574#M226147</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-17T00:34:49Z</dc:date>
    </item>
  </channel>
</rss>

