<?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: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418324#M73798</link>
    <description>&lt;P&gt;Please please please don't start indexer clustering on 5.x today. UPGRADE! Such features, much convenience, wow.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 17:09:07 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2018-12-06T17:09:07Z</dc:date>
    <item>
      <title>Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418313#M73787</link>
      <description>&lt;P&gt;I'm trying to use a regex in a transforms.conf file on the Indexer to prevent indexing of informational and debug messages in specific files.  The messages are in this format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2018-11-30 13:10:55,474 INFO blah blah blah
2018-11-30 13:10:55,474 DEBUG blah blah blah
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There are three Indexers in our environment.  I have this coded in the props.conf files on the Indexers:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::...*(plain|debug|startup).log*]
TRANSFORMS-null12 = setnull12
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... and this in the transforms.conf files:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull12]
REGEX = ^\d+-\d+-\d+\s+\d+:\d+:\d+,*\d+\s+([a-zA-Z0-9]+\s+)?(INFO|DEBUG)\s+.*
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The undesirable messages are no longer getting indexed by two of the Indexers, but they are still getting indexed on the third Indexer.&lt;/P&gt;

&lt;P&gt;I've used btool to compare props.conf and transforms.conf files on all three Indexers.  There are no differences in transforms.conf files and only inconsequential differences in props.conf files ("pulldown_type = true" set for some sourcetypes for two of the three Indexers, and some unrelated learned sourcetypes defined on one of the Indexers where the rules are working).&lt;/P&gt;

&lt;P&gt;Does anyone have any ideas of what might be wrong or how I might go about troubleshooting this?  I realize it's impossible for anyone to say for sure without a complete picture of our configuration files, but any ideas would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 16:39:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418313#M73787</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2018-12-03T16:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418314#M73788</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;assuming &lt;CODE&gt;indexer_1&lt;/CODE&gt; and &lt;CODE&gt;indexer_2&lt;/CODE&gt; are working as intended. Further: &lt;CODE&gt;indexer_3&lt;/CODE&gt; has been restarted, and still not doing as you want:&lt;/P&gt;

&lt;P&gt;Is there a way to test a log file from &lt;CODE&gt;indexer_1&lt;/CODE&gt; on &lt;CODE&gt;indexer_3&lt;/CODE&gt;? Keeping everything in that file as is (EOL, encoding, etc)?&lt;BR /&gt;
Next you could try the reverse: trying a not working log file from &lt;CODE&gt;indexer_3&lt;/CODE&gt; on &lt;CODE&gt;indexer_1&lt;/CODE&gt;. &lt;/P&gt;

&lt;P&gt;This way you might be able to focus on analyzing: either the logs or the configs.&lt;/P&gt;

&lt;P&gt;All the best,&lt;BR /&gt;
Björn&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 17:55:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418314#M73788</guid>
      <dc:creator>bjoernjensen</dc:creator>
      <dc:date>2018-12-03T17:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418315#M73789</link>
      <description>&lt;P&gt;Thanks for the suggestion, Björn.  That sounds like a worthwhile troubleshooting exercise though I'm not really familiar with having a given log file being processed by multiple Indexers.  Something I'll need to figure out, I guess.&lt;/P&gt;

&lt;P&gt;I'll hold off accepting this as the final answer to my question to allow for any other ideas, though I concede that I probably can't expect much else given the amount of info I have to provide.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 18:57:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418315#M73789</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2018-12-03T18:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418316#M73790</link>
      <description>&lt;P&gt;Thats fine with me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Are all indexer running on the same plattform / version? And are all sources inputed the same way (all monitoring stanzas?)&lt;/P&gt;

&lt;P&gt;As for platforms, there might always be a whole set of pitfalls:&lt;BR /&gt;
- EOL: &lt;CODE&gt;LF&lt;/CODE&gt; vs &lt;CODE&gt;CRLF&lt;/CODE&gt;&lt;BR /&gt;
- paths: &lt;CODE&gt;forward slash&lt;/CODE&gt; vs &lt;CODE&gt;back slash&lt;/CODE&gt; &lt;BR /&gt;
- ...&lt;/P&gt;

&lt;P&gt;Good luck&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 19:06:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418316#M73790</guid>
      <dc:creator>bjoernjensen</dc:creator>
      <dc:date>2018-12-03T19:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418317#M73791</link>
      <description>&lt;P&gt;Thanks again for the great questions and suggestions, Björn.  You gave me an idea to try switching the server in the outputs.conf files on the Forwarders to point to only the Indexer that is not doing the filtering as expected, check that behavior, and then switch the server to point to the two Indexers where the filter was working as expected.  I noticed the same bad behavior when the server was pointing to the two Indexers where the filtering was previously working as expected.  However, I then noticed the bad behavior was only occurring for a few Forwarders.  It turns out that the Forwarders whose logs weren't being filtered properly were running on a very old version of Splunk.  I'm not sure why the logs from these Forwarders wouldn't still be handled properly by the props.conf and transforms.conf file changes on the Indexers, but I'm betting that the old version of Splunk on the affected Forwarders has everything to do with this problem.  I'll upgrade these Forwarders at some point and see whether that fixes the issue.&lt;/P&gt;

&lt;P&gt;I went ahead and marked your answer as accepted.  Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 23:18:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418317#M73791</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2018-12-03T23:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418318#M73792</link>
      <description>&lt;P&gt;Slightly related - turn your indexers into an indexer cluster to have the cluster master manage their configuration. Then you won't have to worry about different configuration between indexers. &lt;/P&gt;

&lt;P&gt;As for your forwarders, check whether the "old" ones are universal forwarders or heavy forwarders. If they're heavy then they do their own parsing and the indexers don't. Consider converting them to universal if that's the case and there's no good reason to keep them heavy. &lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:25:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418318#M73792</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-12-04T19:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418319#M73793</link>
      <description>&lt;P&gt;Good idea on the Indexer cluster, Martin.  I had heard about this capability but I believe our Indexers are running on a version that doesn't include that support.  (I'm a little embarrassed to say where we are at.  Upgrading is so painful because of the many Forwarders that we have that require going through another team to gain access to them.)&lt;/P&gt;

&lt;P&gt;The Forwarders are universal so at least we're good there.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 22:41:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418319#M73793</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2018-12-05T22:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418320#M73794</link>
      <description>&lt;P&gt;Indexer clusters have been around since 2012 / 5.0... if you're still on 4.x you really should upgrade.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 23:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418320#M73794</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-12-05T23:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418321#M73795</link>
      <description>&lt;P&gt;Hey @teedilo , did you try installing the app from scratch and also ensuring there is no configurations that is created previously that are overriding the right transforms/props parameters ?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 23:17:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418321#M73795</guid>
      <dc:creator>vr2312</dc:creator>
      <dc:date>2018-12-05T23:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418322#M73796</link>
      <description>&lt;P&gt;Well we're actually on 5.0.1 so it sounds like we could take advantage of this.  It's just that our group doesn't have the resources for a full or even half time Splunk administrator so it's difficult to stop and smell the roses.  A coworker and I have already spent more time on Splunk than we can really afford.  SO much administration.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 17:02:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418322#M73796</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2018-12-06T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418323#M73797</link>
      <description>&lt;P&gt;Sounds like a good suggestion.  Something I'll consider if upgrading the Forwarders that are having this problem doesn't fix the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 17:06:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418323#M73797</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2018-12-06T17:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418324#M73798</link>
      <description>&lt;P&gt;Please please please don't start indexer clustering on 5.x today. UPGRADE! Such features, much convenience, wow.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 17:09:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418324#M73798</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-12-06T17:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418325#M73799</link>
      <description>&lt;P&gt;Thanks, no, I should have said I wasn't seriously considering doing this on 5.x.  We're stuck on 5.x because it's so painful to upgrade our Forwarders (since we need to work through another team on this) and apparently the Indexer can't be that much ahead of the Forwarders in versions.  We'll probably get around to upgrading eventually -- just trying to find the time.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 20:25:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418325#M73799</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2018-12-06T20:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418326#M73800</link>
      <description>&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Forwarder/7.2.1/Forwarder/Compatibilitybetweenforwardersandindexers#Determine_forwarder-indexer_compatibility"&gt;http://docs.splunk.com/Documentation/Forwarder/7.2.1/Forwarder/Compatibilitybetweenforwardersandindexers#Determine_forwarder-indexer_compatibility&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;A 5.0 forwarder can talk to up to 6.5 indexers well, newer indexers need a bit of work around SSL.&lt;BR /&gt;
For indexer clustering, 6.5 is lightyears ahead of 5.0.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 20:51:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418326#M73800</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-12-06T20:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my regex in transforms.conf for source in props.conf not working for one of three Indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418327#M73801</link>
      <description>&lt;P&gt;Thanks again, Martin.  I'm familiar with that article.  We still have some Forwarders running 4.x, but I hope we can take time to upgrade everything soon.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 14:54:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-my-regex-in-transforms-conf-for-source-in-props-conf-not/m-p/418327#M73801</guid>
      <dc:creator>teedilo</dc:creator>
      <dc:date>2018-12-10T14:54:19Z</dc:date>
    </item>
  </channel>
</rss>

