<?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: what happened to eval ifnull(,,)? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/what-happened-to-eval-ifnull/m-p/569344#M10186</link>
    <description>&lt;P&gt;I can't say I've ever seen &lt;FONT face="courier new,courier"&gt;ifnull&lt;/FONT&gt; documented, but system/default/searchbnf.conf says it's an alias for &lt;FONT face="courier new,courier"&gt;coalesce&lt;/FONT&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Oct 2021 14:12:29 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-10-01T14:12:29Z</dc:date>
    <item>
      <title>what happened to eval ifnull(,,)?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/what-happened-to-eval-ifnull/m-p/569340#M10185</link>
      <description>&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;I have a few dashboards that use expressions like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eval var=ifnull(x,"true","false")&lt;/LI-CODE&gt;&lt;P&gt;...which assigns "true" or "false" to var depending on x being NULL&lt;/P&gt;&lt;P&gt;Those dashboards still work, but I notice that ifnull() does not show up in any of the current documentation, and it seems the current way to get the same result would be&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eval var=if(isnull(x),"true","false")&lt;/LI-CODE&gt;&lt;P&gt;Did I miss some kind of deprecation of that syntax ages ago (must have been before 6.3.0), and it just happens to still be parsed?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 13:30:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/what-happened-to-eval-ifnull/m-p/569340#M10185</guid>
      <dc:creator>bochmann</dc:creator>
      <dc:date>2021-10-01T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to eval ifnull(,,)?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/what-happened-to-eval-ifnull/m-p/569344#M10186</link>
      <description>&lt;P&gt;I can't say I've ever seen &lt;FONT face="courier new,courier"&gt;ifnull&lt;/FONT&gt; documented, but system/default/searchbnf.conf says it's an alias for &lt;FONT face="courier new,courier"&gt;coalesce&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 14:12:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/what-happened-to-eval-ifnull/m-p/569344#M10186</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-10-01T14:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: what happened to eval ifnull(,,)?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/what-happened-to-eval-ifnull/m-p/569345#M10187</link>
      <description>&lt;P&gt;Huh. Reading the documentation for &lt;FONT face="courier new,courier"&gt;coalesce&lt;/FONT&gt;, I can see how this happens to work for specific cases where you want to keep the original value of &lt;FONT face="courier new,courier"&gt;x&lt;/FONT&gt;&amp;nbsp; if it's not NULL, and fill in something else if it is.&lt;/P&gt;&lt;P&gt;...which is not what I showed in my example above, but exactly what happens in the dashboard I'm looking at, and where the third parameter is just bogus. Ouch.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 14:29:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/what-happened-to-eval-ifnull/m-p/569345#M10187</guid>
      <dc:creator>bochmann</dc:creator>
      <dc:date>2021-10-01T14:29:34Z</dc:date>
    </item>
  </channel>
</rss>

