<?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 Remove the null values in a field for particular type only. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Remove-the-null-values-in-a-field-for-particular-type/m-p/681742#M232963</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234515"&gt;@vinod743374&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;use eval:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval ErrorMessage=if(ErrorMessage="Type1","Your message for Error Type 1",ErrorMessage)&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Sat, 23 Mar 2024 06:58:41 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-03-23T06:58:41Z</dc:date>
    <item>
      <title>How to Remove the null values in a field for particular type only.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Remove-the-null-values-in-a-field-for-particular-type/m-p/681741#M232962</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I have a single query to get all types of data in table.&lt;BR /&gt;for one particular type I have an issue with the null values, i need to remove those null value results for the particular type only without effecting the other types of data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinod743374_0-1711167321001.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29868iEBF8658E2CDD5539/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinod743374_0-1711167321001.png" alt="vinod743374_0-1711167321001.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to remove those null values in that "error message" field for type 1 , for Type 2 it should be as it is.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 04:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Remove-the-null-values-in-a-field-for-particular-type/m-p/681741#M232962</guid>
      <dc:creator>vinod743374</dc:creator>
      <dc:date>2024-03-23T04:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Remove the null values in a field for particular type only.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Remove-the-null-values-in-a-field-for-particular-type/m-p/681742#M232963</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234515"&gt;@vinod743374&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;use eval:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval ErrorMessage=if(ErrorMessage="Type1","Your message for Error Type 1",ErrorMessage)&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 06:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Remove-the-null-values-in-a-field-for-particular-type/m-p/681742#M232963</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-23T06:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Remove the null values in a field for particular type only.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Remove-the-null-values-in-a-field-for-particular-type/m-p/681743#M232964</link>
      <description>&lt;P&gt;The question is next to unanswerable. &amp;nbsp;First, what does "type" mean? &amp;nbsp;Is that a field name? &amp;nbsp;Attempting to show data using screenshot is bad enough, but the screenshots only includes one column. &amp;nbsp;Do we assume that there is another column named "type", and the values are "type1" and "type2"? &amp;nbsp;Pro tip #1: Illustrate data in text. &amp;nbsp;Tabulate with mock values if you want to anonymize.&lt;/P&gt;&lt;P&gt;Second, what does "remove" mean? &amp;nbsp;Do you want to remove the row that contains null value in this field named "error message"? &amp;nbsp;As if using single-column screenshot is not confusing enough, your screenshot shows a heading "ErrorMessage" with so-called camel case and no space.&lt;/P&gt;&lt;P&gt;Now, forget type because it doesn't seem to have any bearing in the question, just add to overall confusion. If you ask how to remove a row with null value in a given field such as one named "error message", all you need to do is to test it using isnull or &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/InformationalFunctions#isnotnull.28.26lt.3Bvalue.26gt.3B.29" target="_blank" rel="noopener"&gt;isnotnull&lt;/A&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where isnotnull('error message')&lt;/LI-CODE&gt;&lt;P&gt;Is this what you ask?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 07:06:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Remove-the-null-values-in-a-field-for-particular-type/m-p/681743#M232964</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-03-23T07:06:34Z</dc:date>
    </item>
  </channel>
</rss>

