<?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: Transforms: why is nullQueue not working? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446380#M77643</link>
    <description>&lt;P&gt;I was missing a &lt;CODE&gt;Lookahead&lt;/CODE&gt;, because my &lt;CODE&gt;Content&lt;/CODE&gt; is positioned beyond the &lt;CODE&gt;4096&lt;/CODE&gt; characters which is the default value for lookahead.&lt;BR /&gt;
Thank you for your answers!&lt;/P&gt;</description>
    <pubDate>Sat, 08 Sep 2018 02:21:47 GMT</pubDate>
    <dc:creator>amiftah</dc:creator>
    <dc:date>2018-09-08T02:21:47Z</dc:date>
    <item>
      <title>Transforms: why is nullQueue not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446375#M77638</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I want to discard events that contain a string "&lt;STRONG&gt;Content&lt;/STRONG&gt;", the following doesnt work, because I still see events with &lt;STRONG&gt;Content&lt;/STRONG&gt; after I restarted and re-indexed:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;transforms.conf&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;
&lt;CODE&gt;[allNullQueue]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;REGEX = Content&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;DEST_KEY = queue&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;FORMAT = nullQueue&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;props.conf&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;
&lt;CODE&gt;[mysrctype]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;TRANSFORMS-setnull = allNullQueue&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I tried this in a standalone env, version &lt;CODE&gt;7.0.3&lt;/CODE&gt; and &lt;CODE&gt;7.1.2&lt;/CODE&gt; &lt;BR /&gt;
I can't find out where the problem is coming from.&lt;/P&gt;

&lt;P&gt;Any clue?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 16:30:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446375#M77638</guid>
      <dc:creator>amiftah</dc:creator>
      <dc:date>2018-09-07T16:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms: why is nullQueue not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446376#M77639</link>
      <description>&lt;P&gt;I think only @micahkemp can help here. :horse:&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 16:39:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446376#M77639</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2018-09-07T16:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms: why is nullQueue not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446377#M77640</link>
      <description>&lt;P&gt;Hi, do you have the same &lt;CODE&gt;TRANSFORMS-setnull&lt;/CODE&gt; class defined elsewhere apart from the props.conf in question? You can check this by running a btool on your props &lt;CODE&gt;splunk btool props list --debug | grep 'TRANSFORMS'&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 16:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446377#M77640</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-09-07T16:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms: why is nullQueue not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446378#M77641</link>
      <description>&lt;P&gt;this is Splunk Enterprise and not a universal forwarder correct?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 17:47:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446378#M77641</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2018-09-07T17:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms: why is nullQueue not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446379#M77642</link>
      <description>&lt;OL&gt;
&lt;LI&gt;must be Splunk Enterprise (not Universal Forwarder)&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;props.conf&lt;/CODE&gt; should reference source not sourcetype&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;props.conf&lt;/CODE&gt; TRANSFORMS class and stanza name should be unique across deployment, not just specific config file&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[source::/mysource/example/*.csv]&lt;BR /&gt;
TRANSFORMS-setnull = allNullQueue&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[allNullQueue]&lt;BR /&gt;
REGEX = Content&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 07 Sep 2018 17:55:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446379#M77642</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2018-09-07T17:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms: why is nullQueue not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446380#M77643</link>
      <description>&lt;P&gt;I was missing a &lt;CODE&gt;Lookahead&lt;/CODE&gt;, because my &lt;CODE&gt;Content&lt;/CODE&gt; is positioned beyond the &lt;CODE&gt;4096&lt;/CODE&gt; characters which is the default value for lookahead.&lt;BR /&gt;
Thank you for your answers!&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 02:21:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446380#M77643</guid>
      <dc:creator>amiftah</dc:creator>
      <dc:date>2018-09-08T02:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms: why is nullQueue not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446381#M77644</link>
      <description>&lt;P&gt;hi @amiftah,&lt;/P&gt;

&lt;P&gt;It looks like you figured out how to solve your problem. Would you mind approving your answer so that others can better see your solution?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 16:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-why-is-nullQueue-not-working/m-p/446381#M77644</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-09-11T16:51:13Z</dc:date>
    </item>
  </channel>
</rss>

