<?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: Replacing blank values with &amp;quot;0&amp;quot; in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-replace-blank-values-with-quot-0-quot/m-p/480784#M193033</link>
    <description>&lt;P&gt;Since you said you tried fillnull, I'm guessing they're being read in as empty strings. For that specific column, you can specifically try&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| eval invalid=if(isnull(invalid) OR invalid="", 0, invalid)&lt;/CODE&gt;&lt;BR /&gt;
Otherwise &lt;CODE&gt;fillnull value=0&lt;/CODE&gt; should fill any fields that are null. You can also check if the column is actually null or not by doing this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| eval isInvalidNull=if(isnull(invalid), 1, 0)&lt;/CODE&gt;&lt;BR /&gt;
and compute this column just to validate that theory&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 20:38:08 GMT</pubDate>
    <dc:creator>aberkow</dc:creator>
    <dc:date>2020-01-08T20:38:08Z</dc:date>
    <item>
      <title>How to replace blank values with "0"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-replace-blank-values-with-quot-0-quot/m-p/480783#M193032</link>
      <description>&lt;P&gt;Trying to replace the blank values on my dashboard with 0s. If table is empty, should display 0. On the logs data, it is simply blank.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 20:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-replace-blank-values-with-quot-0-quot/m-p/480783#M193032</guid>
      <dc:creator>harshparikhxlrd</dc:creator>
      <dc:date>2023-04-19T20:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing blank values with "0"</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-replace-blank-values-with-quot-0-quot/m-p/480784#M193033</link>
      <description>&lt;P&gt;Since you said you tried fillnull, I'm guessing they're being read in as empty strings. For that specific column, you can specifically try&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| eval invalid=if(isnull(invalid) OR invalid="", 0, invalid)&lt;/CODE&gt;&lt;BR /&gt;
Otherwise &lt;CODE&gt;fillnull value=0&lt;/CODE&gt; should fill any fields that are null. You can also check if the column is actually null or not by doing this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| eval isInvalidNull=if(isnull(invalid), 1, 0)&lt;/CODE&gt;&lt;BR /&gt;
and compute this column just to validate that theory&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 20:38:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-replace-blank-values-with-quot-0-quot/m-p/480784#M193033</guid>
      <dc:creator>aberkow</dc:creator>
      <dc:date>2020-01-08T20:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing blank values with "0"</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-replace-blank-values-with-quot-0-quot/m-p/640511#M221935</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/208970"&gt;@aberkow&lt;/a&gt;&amp;nbsp;wrote:&lt;P&gt;Otherwise fillnull value=0 should fill any fields that are null.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Works for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 06:11:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-replace-blank-values-with-quot-0-quot/m-p/640511#M221935</guid>
      <dc:creator>TrangCIC81</dc:creator>
      <dc:date>2023-04-19T06:11:06Z</dc:date>
    </item>
  </channel>
</rss>

