<?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 send same data source to two or multiple indexes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312408#M58559</link>
    <description>&lt;P&gt;Another option to avoid double-license hit is to schedule a saved search to use the &lt;CODE&gt;collect&lt;/CODE&gt; command to copy all the events from the original index into a &lt;CODE&gt;summary index&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Sep 2017 18:29:29 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-09-02T18:29:29Z</dc:date>
    <item>
      <title>How to send same data source to two or multiple indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312404#M58555</link>
      <description>&lt;P&gt;Consider I have to monitor below log file and send to two or multiple indexes at the same time. ( NOTE: Not indexers groups)&lt;/P&gt;

&lt;P&gt;[monitor://D:\test\test1.log]&lt;BR /&gt;
sourcetype = test&lt;BR /&gt;
index = online and offline&lt;/P&gt;

&lt;P&gt;How can we achieve this?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 14:47:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312404#M58555</guid>
      <dc:creator>arunsunny</dc:creator>
      <dc:date>2017-09-01T14:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data source to two or multiple indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312405#M58556</link>
      <description>&lt;P&gt;Hi arunsunny,&lt;BR /&gt;
I don't know why do you want to send the same logs to different indexes, but remember that in this way you have a double (or more) license consumption!&lt;BR /&gt;
Anyway if you want to do this, the only way is to create symbolic links ( &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.3/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.3/admin/Inputsconf&lt;/A&gt; ) and index both original file and symbolic link.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 14:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312405#M58556</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-01T14:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data source to two or multiple indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312406#M58557</link>
      <description>&lt;P&gt;Hi Cusello,&lt;/P&gt;

&lt;P&gt;Could you please provide me an example for the above-mentioned scenario to achieve using a symbolic link.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Arun&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 15:25:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312406#M58557</guid>
      <dc:creator>arunsunny</dc:creator>
      <dc:date>2017-09-01T15:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data source to two or multiple indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312407#M58558</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\test\test1.log]
sourcetype = test
index = online

[monitor://D:\linktotest\test1.log]
sourcetype = test
index = offline
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The create s symbolic link from &lt;CODE&gt;linktotest&lt;/CODE&gt; to &lt;CODE&gt;test&lt;/CODE&gt;:&lt;BR /&gt;
&lt;A href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa363878(v=vs.85).aspx"&gt;https://msdn.microsoft.com/en-us/library/windows/desktop/aa363878(v=vs.85).aspx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 18:27:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312407#M58558</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-02T18:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data source to two or multiple indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312408#M58559</link>
      <description>&lt;P&gt;Another option to avoid double-license hit is to schedule a saved search to use the &lt;CODE&gt;collect&lt;/CODE&gt; command to copy all the events from the original index into a &lt;CODE&gt;summary index&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2017 18:29:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312408#M58559</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-02T18:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data source to two or multiple indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312409#M58560</link>
      <description>&lt;P&gt;Thank you, Woodcock !!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 12:44:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-same-data-source-to-two-or-multiple-indexes/m-p/312409#M58560</guid>
      <dc:creator>arunsunny</dc:creator>
      <dc:date>2017-09-04T12:44:48Z</dc:date>
    </item>
  </channel>
</rss>

