<?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: Getting rid of unwanted events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441227#M76927</link>
    <description>&lt;P&gt;It looks like some text is not displayed properly.&lt;BR /&gt;
Can you use the "Code Sample" function instead?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Dec 2018 18:02:54 GMT</pubDate>
    <dc:creator>whrg</dc:creator>
    <dc:date>2018-12-19T18:02:54Z</dc:date>
    <item>
      <title>Getting rid of unwanted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441226#M76926</link>
      <description>&lt;P&gt;Hi, I am trying to get rid of 2 events from a XML file I am trying to ingest, &lt;BR /&gt;
I am editing the transforms.conf to send 2 events to the null queue,&lt;BR /&gt;
the 2 events I am trying to get off are the  and  (an example of the XML file is below)&lt;/P&gt;

&lt;P&gt;-80.33100097073213,25.10742916222947&lt;BR /&gt;
Interdiction&lt;BR /&gt;
23&lt;BR /&gt;
Ironwood&lt;BR /&gt;
2013-04-24&lt;BR /&gt;
00:07:00&lt;/P&gt;

&lt;P&gt;0&lt;BR /&gt;
-80.23429525620114,24.08680387475695&lt;BR /&gt;
Rustic&lt;/P&gt;

&lt;P&gt;so my transform is able to get rid of the  tag but I cannot get rid of the  tag&lt;/P&gt;

&lt;P&gt;my props.conf for this sourcetype looks like &lt;/P&gt;

&lt;P&gt;[dreamcrusher]&lt;BR /&gt;
DATETIME_CONFIG =&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
category = Custom&lt;BR /&gt;
pulldown_type = 1&lt;BR /&gt;
BREAK_ONLY_BEFORE = &lt;BR /&gt;
LINE_BREAKER =&lt;BR /&gt;
TRUNCATE = 5000&lt;BR /&gt;
disabled = false&lt;BR /&gt;
TRANSFORMS-datarootnull = DATAROOTNULL&lt;BR /&gt;
MUST_BREAK_AFTER = &lt;/P&gt;

&lt;P&gt;and my transforms.conf for this transform looks like&lt;/P&gt;

&lt;P&gt;[2DATAROOTNULL]&lt;BR /&gt;
REGEX = &amp;lt;.*?dataroot&amp;gt;&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;any help would be greatly appreciated!&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:26:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441226#M76926</guid>
      <dc:creator>ssjabid</dc:creator>
      <dc:date>2020-09-29T22:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of unwanted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441227#M76927</link>
      <description>&lt;P&gt;It looks like some text is not displayed properly.&lt;BR /&gt;
Can you use the "Code Sample" function instead?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 18:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441227#M76927</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-19T18:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of unwanted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441228#M76928</link>
      <description>&lt;P&gt;its all good dude, managed to get there in the end&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 13:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441228#M76928</guid>
      <dc:creator>ssjabid</dc:creator>
      <dc:date>2018-12-20T13:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of unwanted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441229#M76929</link>
      <description>&lt;P&gt;Then please post your solution as an answer and mark that as accepted, such that it is clear that this question is resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 14:41:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441229#M76929</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-12-20T14:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of unwanted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441230#M76930</link>
      <description>&lt;P&gt;got the answer, i had to make a sedcmd command in the props &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 14:45:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441230#M76930</guid>
      <dc:creator>ssjabid</dc:creator>
      <dc:date>2018-12-20T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rid of unwanted events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441231#M76931</link>
      <description>&lt;P&gt;had to use sedcmd command in the props.conf file, all good &lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 14:57:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-rid-of-unwanted-events/m-p/441231#M76931</guid>
      <dc:creator>ssjabid</dc:creator>
      <dc:date>2018-12-20T14:57:54Z</dc:date>
    </item>
  </channel>
</rss>

