<?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 splunk to forward 1 index only in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-to-forward-1-index-only/m-p/251752#M48460</link>
    <description>&lt;P&gt;Hello everyone : ) &lt;/P&gt;

&lt;P&gt;I have a splunk instance with an alert manager app that is producing logs that are being indexed on the same machine as index=alerts. &lt;BR /&gt;
I would like to forward this data to another splunk instance, without use an universal forwarder, but only changing the outputs.conf file in splunk. &lt;/P&gt;

&lt;P&gt;Using this system, I m forwarding ALL the logs are contains in my splunk istance to the other one, but I would like to send only index=alerts. &lt;/P&gt;

&lt;P&gt;How can I change the inputs/outputs.conf to allow this? &lt;/P&gt;

&lt;P&gt;Thanks, &lt;BR /&gt;
Federica&lt;/P&gt;</description>
    <pubDate>Thu, 26 Nov 2015 15:19:42 GMT</pubDate>
    <dc:creator>Federica_92</dc:creator>
    <dc:date>2015-11-26T15:19:42Z</dc:date>
    <item>
      <title>splunk to forward 1 index only</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-to-forward-1-index-only/m-p/251752#M48460</link>
      <description>&lt;P&gt;Hello everyone : ) &lt;/P&gt;

&lt;P&gt;I have a splunk instance with an alert manager app that is producing logs that are being indexed on the same machine as index=alerts. &lt;BR /&gt;
I would like to forward this data to another splunk instance, without use an universal forwarder, but only changing the outputs.conf file in splunk. &lt;/P&gt;

&lt;P&gt;Using this system, I m forwarding ALL the logs are contains in my splunk istance to the other one, but I would like to send only index=alerts. &lt;/P&gt;

&lt;P&gt;How can I change the inputs/outputs.conf to allow this? &lt;/P&gt;

&lt;P&gt;Thanks, &lt;BR /&gt;
Federica&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 15:19:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-to-forward-1-index-only/m-p/251752#M48460</guid>
      <dc:creator>Federica_92</dc:creator>
      <dc:date>2015-11-26T15:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: splunk to forward 1 index only</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-to-forward-1-index-only/m-p/251753#M48461</link>
      <description>&lt;P&gt;Look at this link:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Forwarding/Routeandfilterdatad#Forward_data_for_a_single_index_only"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Forwarding/Routeandfilterdatad#Forward_data_for_a_single_index_only&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Outputs.conf: in “$splunkhome$/etc/system/local/outputs.conf&lt;BR /&gt;
&lt;STRONG&gt;&lt;EM&gt;Something like what is below:&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
defaultGroup = local&lt;BR /&gt;
indexAndForward=true&lt;BR /&gt;
forwardedindex.0.whitelist = .*&lt;BR /&gt;
forwardedindex.1.blacklist = _.*&lt;BR /&gt;
 forwardedindex.2.whitelist = alerts&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;[tcpout:whatever]&lt;/EM&gt; -- Whatever it is set to now should work if it is already forwarding everything.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 20:00:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-to-forward-1-index-only/m-p/251753#M48461</guid>
      <dc:creator>dcharboneau_spl</dc:creator>
      <dc:date>2015-12-23T20:00:58Z</dc:date>
    </item>
  </channel>
</rss>

