<?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 REGEX in a props.conf source stanza to match all sources except ones including &amp;quot;/splunk/&amp;quot;? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282995#M85500</link>
    <description>&lt;P&gt;I suppose you could try this:&lt;BR /&gt;
[source::(?!/opt/splunk/var/).../*]&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2016 09:14:19 GMT</pubDate>
    <dc:creator>johannes88</dc:creator>
    <dc:date>2016-02-17T09:14:19Z</dc:date>
    <item>
      <title>How to configure REGEX in a props.conf source stanza to match all sources except ones including "/splunk/"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282992#M85497</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We would like to match all sources except the ones including &lt;CODE&gt;/splunk/&lt;/CODE&gt; in props.conf.&lt;/P&gt;

&lt;P&gt;Example: No match for &lt;CODE&gt;/opt/splunk/var/log/splunk/metrics.log&lt;/CODE&gt; and &lt;CODE&gt;/opt/splunk/var/log/splunk/splunkd.log&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;We tried several regex variations, but without luck...&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Rainer&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282992#M85497</guid>
      <dc:creator>rainerzufall</dc:creator>
      <dc:date>2016-02-16T17:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure REGEX in a props.conf source stanza to match all sources except ones including "/splunk/"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282993#M85498</link>
      <description>&lt;P&gt;What are you trying to achieve here? Are you trying to do a field extraction OR event filter OR something else? &lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:43:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282993#M85498</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-16T17:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure REGEX in a props.conf source stanza to match all sources except ones including "/splunk/"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282994#M85499</link>
      <description>&lt;P&gt;we would like to implement index routing for all events but internal Splunk logs.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 08:38:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282994#M85499</guid>
      <dc:creator>rainerzufall</dc:creator>
      <dc:date>2016-02-17T08:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure REGEX in a props.conf source stanza to match all sources except ones including "/splunk/"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282995#M85500</link>
      <description>&lt;P&gt;I suppose you could try this:&lt;BR /&gt;
[source::(?!/opt/splunk/var/).../*]&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:14:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282995#M85500</guid>
      <dc:creator>johannes88</dc:creator>
      <dc:date>2016-02-17T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure REGEX in a props.conf source stanza to match all sources except ones including "/splunk/"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282996#M85501</link>
      <description>&lt;P&gt;You should have the stanza match the source, not have a regex in the props.conf stanza. So the stanza should be something like &lt;CODE&gt;[source::/opt/splunk/var/log/splunk/*]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If you want to see more examples have a look at your btool output - &lt;CODE&gt;$SPLUNK_HOME/splunk cmd btool props list | grep 'source::'&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt; and search the page for source:: for more details. If you're still having trouble post the relevant props and transforms stanzas here - you might have a different problem than the  pattern matching&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 10:40:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282996#M85501</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-02-17T10:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure REGEX in a props.conf source stanza to match all sources except ones including "/splunk/"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282997#M85502</link>
      <description>&lt;P&gt;Thanks! That did the trick...&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 14:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-configure-REGEX-in-a-props-conf-source-stanza-to-match/m-p/282997#M85502</guid>
      <dc:creator>rainerzufall</dc:creator>
      <dc:date>2016-02-17T14:50:38Z</dc:date>
    </item>
  </channel>
</rss>

