<?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 selectively index and forward with filtering? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28211#M4803</link>
    <description>&lt;P&gt;Hi dottom&lt;/P&gt;

&lt;P&gt;well basicly an indexer can do the same filtering/routing of data like a forwarder. here is a post about &lt;A href="http://splunk-base.splunk.com/answers/5409/how-to-configure-forwarder-to-send-different-information-to-2-different-indexers"&gt;how to configure forwarder to send different information to 2 different indexers&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;so your indexer can be setup to filter data to different indexes or forward any data to 3rd party systems.&lt;/P&gt;

&lt;P&gt;regrads&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2011 07:15:27 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2011-06-15T07:15:27Z</dc:date>
    <item>
      <title>How to selectively index and forward with filtering?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28208#M4800</link>
      <description>&lt;P&gt;Is there a way to selectively index and forward by using filtering criteria such as hostname, sourcetype, or REGEX in transforms.conf?  Currently, I can selectively index and forward on a per input stanza basis in inputs.conf, but I don't want to forward everything coming into an input.&lt;/P&gt;

&lt;P&gt;If I were to only forward (and not index locally), I would use a REGEX in transforms.conf with a [stanza] in props.conf to filter what to forward.  But it looks like using transforms.conf and props.conf is not supported for selective index and forwarding.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 05:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28208#M4800</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2011-06-15T05:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively index and forward with filtering?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28209#M4801</link>
      <description>&lt;P&gt;Hi dottom&lt;/P&gt;

&lt;P&gt;either take a look here:&lt;BR /&gt;
&lt;EM&gt;&lt;A href="http://splunk-base.splunk.com/answers/1888/how-do-i-configure-splunk-to-filter-out-events-i-dont-want-to-index"&gt;http://splunk-base.splunk.com/answers/1888/how-do-i-configure-splunk-to-filter-out-events-i-dont-want-to-index&lt;/A&gt;&lt;/EM&gt; &lt;/P&gt;

&lt;P&gt;or read the docs here:&lt;BR /&gt;
&lt;EM&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/Deploy/Routeandfilterdatad"&gt;http://www.splunk.com/base/Documentation/4.2.1/Deploy/Routeandfilterdatad&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;both is working as designed, but be aware about this here:&lt;BR /&gt;
&lt;EM&gt;&lt;A href="http://splunk-base.splunk.com/answers/13139/wineventlogsecurity-filtering-does-not-work"&gt;http://splunk-base.splunk.com/answers/13139/wineventlogsecurity-filtering-does-not-work&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I just run into this bug last week. but as said, beside this, all is working like in the docs written.&lt;/P&gt;

&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 06:07:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28209#M4801</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2011-06-15T06:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively index and forward with filtering?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28210#M4802</link>
      <description>&lt;P&gt;My scenario is different in that I don't want to filter out events from being indexed.  What I want to do is filter events to be forwarded, i.e. do not forward some events (only index it), forward specific sourcetype to remoteHostA, forward specific REGEX string to remoteHostB, etc.&lt;/P&gt;

&lt;P&gt;The scenario:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;A single inputs.conf stanza receives logs from 100 different systems.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;I want to index all of them (using "indexAndForward" and &lt;CODE&gt;_INDEX_AND_FORWARD_ROUTING&lt;/CODE&gt; in each input stanza).&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;But I want to selectively forward some logs to some other log consumer devices (using props.conf and transforms.conf, which does not work for "indexAndForward").&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I don't want to just forward using LWF/HF/UF which is very flexible to customize using props.conf and transforms.conf.  This is a "index and selectively forward" approach.&lt;/P&gt;

&lt;P&gt;As a kludge, I've considered running both a forwarder and index instance (two Splunk instances) and have the forwarder forward locally what I want indexed, and forward remotely what I want sent off to other log collection devices.  But I really don't want to run two Splunk instances just to have flexible filtering capability for a "index and forward" design.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 06:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28210#M4802</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2011-06-15T06:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively index and forward with filtering?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28211#M4803</link>
      <description>&lt;P&gt;Hi dottom&lt;/P&gt;

&lt;P&gt;well basicly an indexer can do the same filtering/routing of data like a forwarder. here is a post about &lt;A href="http://splunk-base.splunk.com/answers/5409/how-to-configure-forwarder-to-send-different-information-to-2-different-indexers"&gt;how to configure forwarder to send different information to 2 different indexers&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;so your indexer can be setup to filter data to different indexes or forward any data to 3rd party systems.&lt;/P&gt;

&lt;P&gt;regrads&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 07:15:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28211#M4803</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2011-06-15T07:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively index and forward with filtering?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28212#M4804</link>
      <description>&lt;P&gt;That solution doesn't work for this environment because I cannot configure the forwarders to send to different indexers.  I have a single indexer that is the central hub for many different data inputs.  What I want to do is &lt;STRONG&gt;selectively forward and index from a single indexer&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Right now, with Splunk, an indexer can selective forward without indexing.&lt;/P&gt;

&lt;P&gt;I am using "indexAndForward" and _INDEX_AND_FORWARD_ROUTING in each input stanza.  So at the moment, my forwarding granularity is limited to a stanza in inputs.conf.  What I want to do is be able to use props.conf and transforms.conf to selective decide:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;What to index only, and not forward.&lt;/LI&gt;
&lt;LI&gt;What to index and forward.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-selectively-index-and-forward-with-filtering/m-p/28212#M4804</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2020-09-28T09:42:12Z</dc:date>
    </item>
  </channel>
</rss>

