<?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: What's the best way to filter this sample entry to nullQueue? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115776#M24205</link>
    <description>&lt;P&gt;This is what I had set.  Should show 2 asterisks, but the site didn't render it properly&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX=(?ism).*java.lang.NoSuchFieldException: envelopeTag.*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 26 Mar 2015 02:51:31 GMT</pubDate>
    <dc:creator>agentguerry</dc:creator>
    <dc:date>2015-03-26T02:51:31Z</dc:date>
    <item>
      <title>What's the best way to filter this sample entry to nullQueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115771#M24200</link>
      <description>&lt;P&gt;Can filters be set up to accomplish this?&lt;/P&gt;

&lt;P&gt;Scenario:&lt;/P&gt;

&lt;P&gt;4 servers (server001.domain, server002.domain, server003.domain, server004.domain)&lt;BR /&gt;
on each of those servers is a /var/log/"hostname"a.out and /var/log/"hostname"b.out file&lt;/P&gt;

&lt;P&gt;I want to filter out on all 4 servers, in both of the files ("a.out" and "b.out")&lt;BR /&gt;
ex.  &lt;CODE&gt;var/log/server001a.out&lt;/CODE&gt; and &lt;CODE&gt;/var/log/server001b.out&lt;/CODE&gt;&lt;BR /&gt;
      &lt;CODE&gt;/var/log/server002a.out&lt;/CODE&gt; and &lt;CODE&gt;/var/log/server002b.out&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;com.site.ws.util.jaxws.SOAPMessageContextUtil - Could not instantiate EfficientStreamMessage java.lang.NoSuchFieldException: envelopeTag
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On my Splunk "master" I have:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/var/log/server*.out]
TRANSFORMS-null = setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = (?ism).*java.lang.NoSuchFieldException: envelopeTag.*
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Restart Splunk.&lt;BR /&gt;
But the Splunk Web interface still shows them being logged.&lt;BR /&gt;
Does this syntax/setup look correct?&lt;BR /&gt;
Can you set a source to be multiple files with a * or wildcards?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 01:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115771#M24200</guid>
      <dc:creator>agentguerry</dc:creator>
      <dc:date>2015-03-26T01:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to filter this sample entry to nullQueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115772#M24201</link>
      <description>&lt;P&gt;Have a look on this link: &lt;A href="http://answers.splunk.com/answers/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk.html"&gt;http://answers.splunk.com/answers/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, are you doing that only on your master? You might need to configure every forwarder.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 01:46:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115772#M24201</guid>
      <dc:creator>musskopf</dc:creator>
      <dc:date>2015-03-26T01:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to filter this sample entry to nullQueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115773#M24202</link>
      <description>&lt;P&gt;This would be on the master (server that hosts the indexer, web GUI)&lt;/P&gt;

&lt;P&gt;my master inputs.conf file has this and has been pushed to all forwarders.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/*svc*.out]
index = services
source = Services
disabled = 0
sourcetype = ServerOutLogs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From what I understand, to configure every forwarder (the 4 server00x.domain boxes) I need to install a "heavy forwarder" on those.   Hoping for a way to do this on the "master"&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 01:54:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115773#M24202</guid>
      <dc:creator>agentguerry</dc:creator>
      <dc:date>2015-03-26T01:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to filter this sample entry to nullQueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115774#M24203</link>
      <description>&lt;P&gt;Ok, so if you're running Universal Forwarders it need to be done at Master. Have a look on that link, try to replicate that example and once work adjust for your needs.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 02:30:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115774#M24203</guid>
      <dc:creator>musskopf</dc:creator>
      <dc:date>2015-03-26T02:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to filter this sample entry to nullQueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115775#M24204</link>
      <description>&lt;P&gt;Another thing.. in your Regexp, you have a "." (dot) at the end... is that really there? You might wanna remove it.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 02:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115775#M24204</guid>
      <dc:creator>musskopf</dc:creator>
      <dc:date>2015-03-26T02:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to filter this sample entry to nullQueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115776#M24205</link>
      <description>&lt;P&gt;This is what I had set.  Should show 2 asterisks, but the site didn't render it properly&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX=(?ism).*java.lang.NoSuchFieldException: envelopeTag.*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Mar 2015 02:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115776#M24205</guid>
      <dc:creator>agentguerry</dc:creator>
      <dc:date>2015-03-26T02:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to filter this sample entry to nullQueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115777#M24206</link>
      <description>&lt;P&gt;If your &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt; are in the same &lt;CODE&gt;scope&lt;/CODE&gt; as your &lt;CODE&gt;inputs.conf&lt;/CODE&gt; (i.e. exist inside identical path/directory), this is a correct configuration PROVIDED there are no other stanzas that get processed later that move the same data back out of the &lt;CODE&gt;nullQueue&lt;/CODE&gt; AND that the files have been distributed to the Indexers and Heavy Forwarders and all Splunk instances there have been restarted.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2015 15:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115777#M24206</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-08-10T15:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to filter this sample entry to nullQueue?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115778#M24207</link>
      <description>&lt;P&gt;Beware, the stanza name "setnull" is often used and reused on different apps, so can double check with a btool that this is thew good one applied .&lt;/P&gt;

&lt;P&gt;./splunk cmd btool transforms list setnull&lt;/P&gt;

&lt;P&gt;I recommend to create your own stanza name, that explains what is does and is unique,&lt;BR /&gt;
example :  [SendJavaExceptionToNullQueue]&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2015 18:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-s-the-best-way-to-filter-this-sample-entry-to-nullQueue/m-p/115778#M24207</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2015-08-10T18:16:27Z</dc:date>
    </item>
  </channel>
</rss>

