<?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: Fillnull command is not working in my search for specific sourcetype in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409957#M190952</link>
    <description>&lt;P&gt;There is the &lt;CODE&gt;foreach&lt;/CODE&gt; command that you can use to cover multiple fields with one command.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 17:38:37 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-07-30T17:38:37Z</dc:date>
    <item>
      <title>Fillnull command is not working in my search for specific sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409953#M190948</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I been using fill null commands on my other searched without any issue, but in a specific case i am unable to get any response by using fillnull, &lt;/P&gt;

&lt;P&gt;the data is indexed by a source type called CSV, (specific for CSV files), I will have 1000's of empty values in fields so I need to filter our based on my needs. one on my need is to  filter it my means if null values. SO I want to replace the empty values in a filled with value-NULL. I used below format.&lt;/P&gt;

&lt;P&gt;field name =""RWI State" and i used the fillnull as ....| fillnull value=NULL "RWI State".&lt;/P&gt;

&lt;P&gt;but its not filling the filed with NULL values&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 05:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409953#M190948</guid>
      <dc:creator>Gowtham0809</dc:creator>
      <dc:date>2019-07-30T05:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fillnull command is not working in my search for specific sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409954#M190949</link>
      <description>&lt;P&gt;adding to the post, replace command works with replacing empty values NULL. MY usecase is to use fillnull&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 05:44:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409954#M190949</guid>
      <dc:creator>Gowtham0809</dc:creator>
      <dc:date>2019-07-30T05:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fillnull command is not working in my search for specific sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409955#M190950</link>
      <description>&lt;P&gt;First of all, fields with spaces are &lt;EM&gt;EVIL&lt;/EM&gt; but try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | fillnull value="NULL" "RWI State"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If that doesn't work, then try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval "RWI State" = if(len('RWI State') == 0, "NULL", 'RWI State')
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jul 2019 05:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409955#M190950</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-30T05:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fillnull command is not working in my search for specific sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409956#M190951</link>
      <description>&lt;P&gt;Thanks for the update, I have many fields such as "RWI State", So so I need to use EVAL for all my fields, or can i do it for all the fields to replace null values. Note, I have too many fields in my data sheet.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 09:37:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409956#M190951</guid>
      <dc:creator>Gowtham0809</dc:creator>
      <dc:date>2019-07-30T09:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fillnull command is not working in my search for specific sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409957#M190952</link>
      <description>&lt;P&gt;There is the &lt;CODE&gt;foreach&lt;/CODE&gt; command that you can use to cover multiple fields with one command.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:38:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fillnull-command-is-not-working-in-my-search-for-specific/m-p/409957#M190952</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-30T17:38:37Z</dc:date>
    </item>
  </channel>
</rss>

