<?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 drop events containing null values coming from a csv using transforms in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691513#M115017</link>
    <description>&lt;P&gt;I tried the regex and it did not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 06:51:27 GMT</pubDate>
    <dc:creator>learnsplungeek</dc:creator>
    <dc:date>2024-06-25T06:51:27Z</dc:date>
    <item>
      <title>how to drop events containing null values coming from a csv using transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691240#M114980</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;I am getting some events from a csv which contains the below format and would like to drop such events using transforms.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;null,null,0,null,null,null,null,null,null,&amp;nbsp; ---- to be dropped&lt;BR /&gt;null,null,0,null,null,null,null,null,null,&amp;nbsp;&amp;nbsp;---- to be dropped&lt;BR /&gt;null,null,0,null,null,null,null,null,null,&amp;nbsp;&amp;nbsp;---- to be dropped&lt;BR /&gt;null,null,0,null,null,null,null,null,null,&amp;nbsp;&amp;nbsp;---- to be dropped&lt;BR /&gt;null,null,0,null,null,null,null,null,null,&amp;nbsp;&amp;nbsp;---- to be dropped&lt;BR /&gt;52376,null,0,test,87387,2984,22,abc,99&amp;nbsp; ----- to be kept&lt;BR /&gt;&lt;BR /&gt;Below is what i have done so far and is not working&lt;BR /&gt;&lt;BR /&gt;Props.conf&lt;BR /&gt;[Reports5min]&lt;BR /&gt;TRANSFORMS-null = setnull&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;transforms.conf&lt;BR /&gt;[setnull]&lt;BR /&gt;REGEX = ^null,null\,0,null,null,null,null,null,null,$&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 06:01:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691240#M114980</guid>
      <dc:creator>learnsplungeek</dc:creator>
      <dc:date>2024-06-21T06:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop events containing null values coming from a csv using transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691390#M114999</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/1406"&gt;@woodcock&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please help me here&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 05:43:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691390#M114999</guid>
      <dc:creator>learnsplungeek</dc:creator>
      <dc:date>2024-06-24T05:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop events containing null values coming from a csv using transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691399#M115000</link>
      <description>&lt;P&gt;Assuming the stanza&amp;nbsp;&lt;SPAN&gt;[Reports5min] points to the right sourcetype, try placing a capture group in the regex property, like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;REGEX = ^(null,null,0,null,null,null,null,null,null,)$&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Also are you sure there is ni blacnk spaces at the end of each line?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The rest of the settinggs seems fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 07:28:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691399#M115000</guid>
      <dc:creator>glc_slash_it</dc:creator>
      <dc:date>2024-06-24T07:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop events containing null values coming from a csv using transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691409#M115002</link>
      <description>&lt;P&gt;Hi , Sure let me try this regex and see. Yes there are no blank spaces after each line containing null values&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 08:41:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691409#M115002</guid>
      <dc:creator>learnsplungeek</dc:creator>
      <dc:date>2024-06-24T08:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop events containing null values coming from a csv using transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691447#M115008</link>
      <description>&lt;P&gt;1. Where are you putting those configs?&lt;/P&gt;&lt;P&gt;2. Do you use indexed extractions?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 13:21:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691447#M115008</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-06-24T13:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop events containing null values coming from a csv using transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691513#M115017</link>
      <description>&lt;P&gt;I tried the regex and it did not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 06:51:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691513#M115017</guid>
      <dc:creator>learnsplungeek</dc:creator>
      <dc:date>2024-06-25T06:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop events containing null values coming from a csv using transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691514#M115018</link>
      <description>&lt;P&gt;Hi , I have placed both the transforms and props at indexer layer. We are getting the CSV data through UF's&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 06:52:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-drop-events-containing-null-values-coming-from-a-csv/m-p/691514#M115018</guid>
      <dc:creator>learnsplungeek</dc:creator>
      <dc:date>2024-06-25T06:52:56Z</dc:date>
    </item>
  </channel>
</rss>

