<?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: Handling Nulls in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Handling-Nulls/m-p/523962#M35426</link>
    <description>&lt;P&gt;I suspect that strcat creates an empty string rather than a null field.&amp;nbsp; You can verify/workaround that using&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|strcat Key_1 Key_2 Key_3 Key_4 Testing_Key
|eval Testing_Key=if(Testing_Key=="","N/A",Testing_Key)&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 09 Oct 2020 17:43:44 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-10-09T17:43:44Z</dc:date>
    <item>
      <title>Handling Nulls</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Handling-Nulls/m-p/523958#M35425</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am combining fields using strcat as shows below and I want to have "N/A" in the same field if result of strcat is Null. But for some reason, isnull or isnotnull command used after strcat is not identifying null values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something here ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;|strcat Key_1 Key_2 Key_3 Key_4 Testing_Key&lt;BR /&gt;|eval Testing_Key=if(isnotnull(Testing_Key),Testing_Key,"N/A")&lt;/P&gt;&lt;P&gt;Result should be either value of Testing_Key when its not null and it should "N/A" when Testing_Key is Null.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohan Kinhikar&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:26:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Handling-Nulls/m-p/523958#M35425</guid>
      <dc:creator>Rgk_Trail</dc:creator>
      <dc:date>2020-10-09T17:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Nulls</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Handling-Nulls/m-p/523962#M35426</link>
      <description>&lt;P&gt;I suspect that strcat creates an empty string rather than a null field.&amp;nbsp; You can verify/workaround that using&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|strcat Key_1 Key_2 Key_3 Key_4 Testing_Key
|eval Testing_Key=if(Testing_Key=="","N/A",Testing_Key)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Handling-Nulls/m-p/523962#M35426</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-09T17:43:44Z</dc:date>
    </item>
  </channel>
</rss>

