<?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: Issue with indexing multiple files from same folder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324585#M93844</link>
    <description>&lt;P&gt;Hi @k_harini,&lt;/P&gt;

&lt;P&gt;When you define multiple monitor stanza with same directory path in inputs.conf, Splunk will consider only one monitor stanza.&lt;/P&gt;

&lt;P&gt;In your case you can configure inputs.conf as below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\prime.*.csv]
 disabled = false
 index = aof_prime_idx
 sourcetype = aof_tm_source
 crcSalt = &amp;lt;SOURCE&amp;gt;

 [monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\Architect.*.csv]
 disabled = false
 index = aof_architect_idx
 sourcetype = aof_tm_source
 crcSalt = &amp;lt;SOURCE&amp;gt;

 [monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\archade.*.csv]
 disabled = false
 index = aof_archade_idx
 sourcetype = aof_tm_source
 crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 24 Oct 2017 06:37:30 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2017-10-24T06:37:30Z</dc:date>
    <item>
      <title>Issue with indexing multiple files from same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324583#M93842</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I would like to index files into different indexes which are residing in same folder. I did whitelisting. But only first file in folder got indexed successfully. Other 2 files are not indexed. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\]
disabled = false
index = aof_prime_idx
sourcetype = aof_tm_source
whitelist = (prime.*\.csv)
crcSalt = &amp;lt;SOURCE&amp;gt;

[monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\]
disabled = false
index = aof_architect_idx
sourcetype = aof_tm_source
whitelist = (Architect.*\.csv)
crcSalt = &amp;lt;SOURCE&amp;gt;

[monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\]
disabled = false
index = aof_archade_idx
sourcetype = aof_tm_source
whitelist = (archade.*\.csv)
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;what could be the reason. ? How can i achieve this in a different way? please provide some pointers&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 05:10:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324583#M93842</guid>
      <dc:creator>k_harini</dc:creator>
      <dc:date>2017-10-24T05:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with indexing multiple files from same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324584#M93843</link>
      <description>&lt;P&gt;Hello @k_harini&lt;/P&gt;

&lt;P&gt;May I ask if what are you trying achieve? &lt;/P&gt;

&lt;P&gt;try changing the sourcetype name per index. &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 05:19:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324584#M93843</guid>
      <dc:creator>lloydknight</dc:creator>
      <dc:date>2017-10-24T05:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with indexing multiple files from same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324585#M93844</link>
      <description>&lt;P&gt;Hi @k_harini,&lt;/P&gt;

&lt;P&gt;When you define multiple monitor stanza with same directory path in inputs.conf, Splunk will consider only one monitor stanza.&lt;/P&gt;

&lt;P&gt;In your case you can configure inputs.conf as below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\prime.*.csv]
 disabled = false
 index = aof_prime_idx
 sourcetype = aof_tm_source
 crcSalt = &amp;lt;SOURCE&amp;gt;

 [monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\Architect.*.csv]
 disabled = false
 index = aof_architect_idx
 sourcetype = aof_tm_source
 crcSalt = &amp;lt;SOURCE&amp;gt;

 [monitor://C:\Program Files\Splunk\etc\apps\test\testdata\certification_data\archade.*.csv]
 disabled = false
 index = aof_archade_idx
 sourcetype = aof_tm_source
 crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Oct 2017 06:37:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324585#M93844</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-10-24T06:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with indexing multiple files from same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324586#M93845</link>
      <description>&lt;P&gt;Thanks a lot. I will try this now&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 06:59:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324586#M93845</guid>
      <dc:creator>k_harini</dc:creator>
      <dc:date>2017-10-24T06:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with indexing multiple files from same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324587#M93846</link>
      <description>&lt;P&gt;This did not work.. none of files got indexed &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 16:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324587#M93846</guid>
      <dc:creator>k_harini</dc:creator>
      <dc:date>2017-10-24T16:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with indexing multiple files from same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324588#M93847</link>
      <description>&lt;P&gt;This worked with some slight modifications. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 05:07:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324588#M93847</guid>
      <dc:creator>k_harini</dc:creator>
      <dc:date>2017-10-25T05:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with indexing multiple files from same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324589#M93848</link>
      <description>&lt;P&gt;What were your modifications? Please post details of solutions, as "this worked with some slight modifications" helps no one else with the same issue! Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 20:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-indexing-multiple-files-from-same-folder/m-p/324589#M93848</guid>
      <dc:creator>zanb</dc:creator>
      <dc:date>2019-02-03T20:07:39Z</dc:date>
    </item>
  </channel>
</rss>

