<?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 How to set empty string or null value for non-matched lookup items? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-empty-string-or-null-value-for-non-matched-lookup/m-p/178584#M35811</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;According to the document splunk should use empty string for non-matching lookup by default. Yet, when i set an automatic lookup, i can see it uses the "NONE" string by default.&lt;/P&gt;

&lt;P&gt;I need it to be either empty string or null(). I tried setting default (in transforms.conf file) to NULL or null() but it just sets a string with that value. &lt;/P&gt;

&lt;P&gt;Here is how my auto-lookup is set:&lt;/P&gt;

&lt;P&gt;props.conf:&lt;BR /&gt;
LOOKUP-check = valid_sc_users user_id&lt;/P&gt;

&lt;P&gt;[valid_sc_users]&lt;BR /&gt;
filename = valid_sc_users.csv&lt;BR /&gt;
max_matches = 1&lt;BR /&gt;
min_matches = 1&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;Thanks You&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 17:59:22 GMT</pubDate>
    <dc:creator>dorilevy</dc:creator>
    <dc:date>2020-09-28T17:59:22Z</dc:date>
    <item>
      <title>How to set empty string or null value for non-matched lookup items?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-empty-string-or-null-value-for-non-matched-lookup/m-p/178584#M35811</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;According to the document splunk should use empty string for non-matching lookup by default. Yet, when i set an automatic lookup, i can see it uses the "NONE" string by default.&lt;/P&gt;

&lt;P&gt;I need it to be either empty string or null(). I tried setting default (in transforms.conf file) to NULL or null() but it just sets a string with that value. &lt;/P&gt;

&lt;P&gt;Here is how my auto-lookup is set:&lt;/P&gt;

&lt;P&gt;props.conf:&lt;BR /&gt;
LOOKUP-check = valid_sc_users user_id&lt;/P&gt;

&lt;P&gt;[valid_sc_users]&lt;BR /&gt;
filename = valid_sc_users.csv&lt;BR /&gt;
max_matches = 1&lt;BR /&gt;
min_matches = 1&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;Thanks You&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:59:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-empty-string-or-null-value-for-non-matched-lookup/m-p/178584#M35811</guid>
      <dc:creator>dorilevy</dc:creator>
      <dc:date>2020-09-28T17:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to set empty string or null value for non-matched lookup items?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-empty-string-or-null-value-for-non-matched-lookup/m-p/178585#M35812</link>
      <description>&lt;P&gt;Just found out i can set the min_matches to 0, because the output field does not  exists. this way nothing will be added - and that's what i needed.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2014 13:08:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-empty-string-or-null-value-for-non-matched-lookup/m-p/178585#M35812</guid>
      <dc:creator>dorilevy</dc:creator>
      <dc:date>2014-11-03T13:08:35Z</dc:date>
    </item>
  </channel>
</rss>

