<?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: Issues sending filtered data to specific index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428540#M75083</link>
    <description>&lt;P&gt;Hey woodcock, thanks for the response. I'm not sure I understand the bit about sourcetype override, could you give me an example?&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2019 15:34:06 GMT</pubDate>
    <dc:creator>bms9nmh</dc:creator>
    <dc:date>2019-08-06T15:34:06Z</dc:date>
    <item>
      <title>Issues sending filtered data to specific index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428538#M75081</link>
      <description>&lt;P&gt;I have an index named myindex.&lt;/P&gt;

&lt;P&gt;I'm trying to filter out lines that contain CRON entries in the auth.log, and send them to myindex. I'm using a negative regex search so any line that doesn't contain CRON matches, and therefore appear in myindex.  I'm using the  following transforms.config and props.config files. &lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[filter_out_cron]
  REGEX=^(?!.*CRON\[.*?\]:).*$
  DEST_KEY=_MetaData:Index
  FORMAT=myindex
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/var/log/auth.log]
  TRANSFORMS-indexRouting=filter_out_cron
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The auth.log lines with CRON entries are still appearing, but I can't tell why. Does this look like a configuration that should work?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 10:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428538#M75081</guid>
      <dc:creator>bms9nmh</dc:creator>
      <dc:date>2019-08-06T10:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issues sending filtered data to specific index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428539#M75082</link>
      <description>&lt;P&gt;Your settings are correct so it must be something else.  If you are doing a sourcetype override/overwrite, you must use the &lt;EM&gt;ORIGINAL&lt;/EM&gt; value, &lt;EM&gt;NOT&lt;/EM&gt; the new value.  You must deploy your settings to the first full instance(s) of Splunk that handle the events (usually either the HF tier if you use one, or else your Indexer tier), restart all Splunk instances there, send in new events (old events will stay broken), then test using &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; to be absolutely certain that you are only examining the newly indexed events.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 15:29:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428539#M75082</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-06T15:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issues sending filtered data to specific index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428540#M75083</link>
      <description>&lt;P&gt;Hey woodcock, thanks for the response. I'm not sure I understand the bit about sourcetype override, could you give me an example?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 15:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428540#M75083</guid>
      <dc:creator>bms9nmh</dc:creator>
      <dc:date>2019-08-06T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issues sending filtered data to specific index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428541#M75084</link>
      <description>&lt;P&gt;If you are the admin for Splunk, you would know if you were doing sourcetype-override; in any case:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 17:50:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-sending-filtered-data-to-specific-index/m-p/428541#M75084</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-06T17:50:22Z</dc:date>
    </item>
  </channel>
</rss>

