<?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 configure props.conf and transforms.conf to select events containing a string of words? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196332#M39059</link>
    <description>&lt;P&gt;The order &lt;CODE&gt;setnull,setparsing&lt;/CODE&gt; is correct. Both are run, &lt;CODE&gt;nullQueue&lt;/CODE&gt; is always set and sometimes overwritten by &lt;CODE&gt;indexQueue&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Nov 2014 20:15:18 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-11-05T20:15:18Z</dc:date>
    <item>
      <title>How to configure props.conf and transforms.conf to select events containing a string of words?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196329#M39056</link>
      <description>&lt;P&gt;I have scoured the 'Net, Splunk docs and the Answers and found lots of good information on setting up my indexer filtering to reduce the noise coming from my firewall syslog UDP feed.  I feel like I'm really close, because now there is nothing coming through.  What I WANT to see are only messages that contain "TCP access denied".  I can apply a piped REGEX statement on the search and it works, but I don't seem to have props and transforms files set up quite right yet.&lt;/P&gt;

&lt;P&gt;This works in search: source=firewall | regex _raw="TCP access denied"&lt;/P&gt;

&lt;P&gt;Props.conf:&lt;BR /&gt;
[source::firewall]&lt;BR /&gt;
TRANSFORMS-set= setnull,setparsing&lt;/P&gt;

&lt;P&gt;Transforms.conf:&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX _raw="TCP access denied"&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;Any additional insight would be welcome!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:06:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196329#M39056</guid>
      <dc:creator>dseabury</dc:creator>
      <dc:date>2020-09-28T18:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to select events containing a string of words?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196330#M39057</link>
      <description>&lt;P&gt;Replace this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX _raw="TCP access denied"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX = TCP access denied
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That's assuming the quotes aren't part of the to-be-matched event.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 20:06:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196330#M39057</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-05T20:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to select events containing a string of words?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196331#M39058</link>
      <description>&lt;P&gt;Try reversing the order of your &lt;CODE&gt;TRANSFORMS-set&lt;/CODE&gt; statement.  The &lt;CODE&gt;setnull&lt;/CODE&gt; transform is matching everything, leaving nothing for &lt;CODE&gt;setparsing&lt;/CODE&gt; to index.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 20:11:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196331#M39058</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-11-05T20:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to select events containing a string of words?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196332#M39059</link>
      <description>&lt;P&gt;The order &lt;CODE&gt;setnull,setparsing&lt;/CODE&gt; is correct. Both are run, &lt;CODE&gt;nullQueue&lt;/CODE&gt; is always set and sometimes overwritten by &lt;CODE&gt;indexQueue&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 20:15:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196332#M39059</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-05T20:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to select events containing a string of words?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196333#M39060</link>
      <description>&lt;P&gt;SUCCESS!!!  Thanks for the responses.  I made the change recommended by martin_mueller and restarted Splunk (is that necessary?).&lt;BR /&gt;&lt;BR /&gt;
This will throw open the door for me to add more filtering and get our firewall index fully tuned...&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 20:30:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196333#M39060</guid>
      <dc:creator>dseabury</dc:creator>
      <dc:date>2014-11-05T20:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure props.conf and transforms.conf to select events containing a string of words?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196334#M39061</link>
      <description>&lt;P&gt;As a rule of thumb, restarting is necessary for all index-time configuration file changes, which this very much is.&lt;/P&gt;

&lt;P&gt;Search-time config file changes may get along with a debug/refresh call.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 20:59:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-props-conf-and-transforms-conf-to-select-events/m-p/196334#M39061</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-05T20:59:36Z</dc:date>
    </item>
  </channel>
</rss>

