<?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 to detect and fill default value to empty-value field ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50216#M179555</link>
    <description>&lt;P&gt;try piping it with &lt;/P&gt;

&lt;P&gt;fillnull value=NULL&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/fillnull"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/fillnull&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2012 11:09:56 GMT</pubDate>
    <dc:creator>aneeshkjm123</dc:creator>
    <dc:date>2012-11-30T11:09:56Z</dc:date>
    <item>
      <title>How to detect and fill default value to empty-value field ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50214#M179553</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;When i did a search on my SQL data, there are a lot of empty-value fields, which don't contain anything, i want to fill them up with value "&lt;NULL&gt;" , but i cannot find any efficient method to achieve that.&lt;/NULL&gt;&lt;/P&gt;

&lt;P&gt;I tried fillnull function , but it didn't work through. If i do it by hand, like &lt;/P&gt;

&lt;P&gt;eval field=case(isnull(field),"&lt;NULL&gt;",NOT isnull(field),field)&lt;/NULL&gt;&lt;/P&gt;

&lt;P&gt;it works, but if there are nearly 100 fields, it's impossible.&lt;/P&gt;

&lt;P&gt;So can you suggest me a solution for that ?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2012 10:27:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50214#M179553</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-11-30T10:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect and fill default value to empty-value field ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50215#M179554</link>
      <description>&lt;P&gt;What didn't work with fillnull?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2012 10:40:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50215#M179554</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-11-30T10:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect and fill default value to empty-value field ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50216#M179555</link>
      <description>&lt;P&gt;try piping it with &lt;/P&gt;

&lt;P&gt;fillnull value=NULL&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/fillnull"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/fillnull&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2012 11:09:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50216#M179555</guid>
      <dc:creator>aneeshkjm123</dc:creator>
      <dc:date>2012-11-30T11:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect and fill default value to empty-value field ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50217#M179556</link>
      <description>&lt;P&gt;as i specified in my question, fillnull value=NULL doesn't work. It only works in case there is at least one value of the field is not empty,  but if all the value of that field are empty , it  doesn't work&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2012 14:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50217#M179556</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-11-30T14:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect and fill default value to empty-value field ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50218#M179557</link>
      <description>&lt;P&gt;I have the same problem as @sieutruc, posted another question to hopefully get some answers on this.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/279781/showing-all-fields-in-search-including-empty.html?minQuestionBodyLength=80"&gt;http://answers.splunk.com/answers/279781/showing-all-fields-in-search-including-empty.html?minQuestionBodyLength=80&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 14:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-detect-and-fill-default-value-to-empty-value-field/m-p/50218#M179557</guid>
      <dc:creator>djfang</dc:creator>
      <dc:date>2015-07-17T14:03:09Z</dc:date>
    </item>
  </channel>
</rss>

