<?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: How do I get Automatic Lookup to handle null value lookups? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484450#M135595</link>
    <description>&lt;P&gt;yeah that's a better idea if it's just success/failure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 07:11:02 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2019-09-23T07:11:02Z</dc:date>
    <item>
      <title>How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484443#M135588</link>
      <description>&lt;P&gt;My automatic lookup csv file is using say 2 columns; Col1 &amp;amp; Col2.  Row entries are 'Success'  &amp;amp; 'Failure' in Col1. Col 2 has the value / char '1' &amp;amp; null / no value entry in the opposite cells. I want searches to lookup and replace null with value=Failure.  I'm seeing the mapping for 'Success' working but nothing for null / no cell value entry. Is there a csv file value / character entry that maps to null search value?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 10:33:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484443#M135588</guid>
      <dc:creator>khudson3</dc:creator>
      <dc:date>2019-09-20T10:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484444#M135589</link>
      <description>&lt;P&gt;The easiest thing to do is change the lookup csv file to not have an empty Col2.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 14:04:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484444#M135589</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-09-20T14:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484445#M135590</link>
      <description>&lt;P&gt;Doesn't have an empty Col2 it has 1 &amp;amp; null cells.  1 is working for Success whereas null is not being mapped.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 14:09:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484445#M135590</guid>
      <dc:creator>khudson3</dc:creator>
      <dc:date>2019-09-20T14:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484446#M135591</link>
      <description>&lt;P&gt;Col1    Col2&lt;BR /&gt;
Success 1&lt;BR /&gt;
Failure &lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 14:14:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484446#M135591</guid>
      <dc:creator>khudson3</dc:creator>
      <dc:date>2019-09-20T14:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484447#M135592</link>
      <description>&lt;P&gt;null==empty.  If you can change the CSV file to have&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Col1,Col2
Success,1
Failure,0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then you'll avoid convoluted SPL.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 14:41:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484447#M135592</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-09-20T14:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484448#M135593</link>
      <description>&lt;P&gt;Isn't it possible to use calculated fields instead of "automatic lookup"?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 15:27:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484448#M135593</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2019-09-20T15:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484449#M135594</link>
      <description>&lt;P&gt;Null is being returned for the search that the lookup is running on, so 0 cannot be used and the fullnull command can only be executed after the search.  Need to know whether there is a csv mapping for null char.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 06:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484449#M135594</guid>
      <dc:creator>khudson3</dc:creator>
      <dc:date>2019-09-23T06:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484450#M135595</link>
      <description>&lt;P&gt;yeah that's a better idea if it's just success/failure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 07:11:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484450#M135595</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-09-23T07:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484451#M135596</link>
      <description>&lt;P&gt;The real life scenario is mapping to lists from a specification, where there will be more than just two outcomes:&lt;/P&gt;

&lt;P&gt;Col1,Col2&lt;BR /&gt;
No failure,null&lt;BR /&gt;
Source application or not sent,0&lt;BR /&gt;
System,1&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 07:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484451#M135596</guid>
      <dc:creator>khudson3</dc:creator>
      <dc:date>2019-09-23T07:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484452#M135597</link>
      <description>&lt;P&gt;Have you tried using &lt;CODE&gt;isnull&lt;/CODE&gt; to test the output of the lookup?  Share your query and I may be able to be more specific?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 12:17:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484452#M135597</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-09-23T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484453#M135598</link>
      <description>&lt;P&gt;Yes I've tried issull. My search events are returning true null values, but the auto lookup is not applying / handling the transformation and the values remain null.  In the auto lookup csv I've used entries ="",empty etc. &lt;/P&gt;

&lt;P&gt;If I use | fillnull value=- or equiv then I see the null automatic lookup new fields but the data is still null.&lt;/P&gt;

&lt;P&gt;The search query does not really have a bearing on the question as it contains no transformations.  &lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 14:16:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484453#M135598</guid>
      <dc:creator>khudson3</dc:creator>
      <dc:date>2019-09-23T14:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484454#M135599</link>
      <description>&lt;P&gt;why not just use &lt;CODE&gt;fillnull&lt;/CODE&gt; first and follow that up with a lookup ?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 14:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484454#M135599</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-09-23T14:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484455#M135600</link>
      <description>&lt;P&gt;Yes I could easily workaround the issue with fullnull or eval etc. But  I wanted to understand whether there was a direct csv mapping that could work, as it seems quite poor if automatic lookup cannot handle null values appropriately.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 06:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484455#M135600</guid>
      <dc:creator>khudson3</dc:creator>
      <dc:date>2019-09-24T06:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Automatic Lookup to handle null value lookups?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484456#M135601</link>
      <description>&lt;P&gt;You can add &lt;CODE&gt;| fillnull value="Failure"&lt;/CODE&gt; after the lookup or you can create a &lt;CODE&gt;lookup definition&lt;/CODE&gt; that sets a default value and use the &lt;CODE&gt;lookup definition&lt;/CODE&gt; with the &lt;CODE&gt;| lookup&lt;/CODE&gt; call (not the &lt;CODE&gt;lookup file&lt;/CODE&gt;).&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 23:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-Automatic-Lookup-to-handle-null-value-lookups/m-p/484456#M135601</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-14T23:38:27Z</dc:date>
    </item>
  </channel>
</rss>

