<?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 Recursive monitoring of directories in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148843#M30290</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I have a folder by name Mumbai under C drive with subfolders in it. &lt;/P&gt;

&lt;P&gt;If i edit the inputs.conf file as &lt;CODE&gt;monitor://C:\Splunk\NPCI\Mumbai\*&lt;/CODE&gt; , will that monitor all recursively all the sub folders?&lt;/P&gt;

&lt;P&gt;Correct me if my command is wrong.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
    <pubDate>Thu, 01 May 2014 12:19:52 GMT</pubDate>
    <dc:creator>sushma7</dc:creator>
    <dc:date>2014-05-01T12:19:52Z</dc:date>
    <item>
      <title>Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148843#M30290</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I have a folder by name Mumbai under C drive with subfolders in it. &lt;/P&gt;

&lt;P&gt;If i edit the inputs.conf file as &lt;CODE&gt;monitor://C:\Splunk\NPCI\Mumbai\*&lt;/CODE&gt; , will that monitor all recursively all the sub folders?&lt;/P&gt;

&lt;P&gt;Correct me if my command is wrong.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 12:19:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148843#M30290</guid>
      <dc:creator>sushma7</dc:creator>
      <dc:date>2014-05-01T12:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148844#M30291</link>
      <description>&lt;P&gt;the command is not showing up properly, it is monitor://C:\Splunk\NPCI\Mumbai*&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 12:22:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148844#M30291</guid>
      <dc:creator>sushma7</dc:creator>
      <dc:date>2014-05-01T12:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148845#M30292</link>
      <description>&lt;P&gt;There are forward splashes between Splunk, NPCI and Mumbai, I dont knew as why it is not showing up&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 12:23:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148845#M30292</guid>
      <dc:creator>sushma7</dc:creator>
      <dc:date>2014-05-01T12:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148846#M30293</link>
      <description>&lt;P&gt;Hello Sushma,&lt;BR /&gt;
It will look for the current directory. You need to set the recursive option to True in the stanza.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;recursive = [true|false]
* If false, Splunk will not monitor subdirectories found within a
monitored directory.
* Defaults to true.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Your Monitor stanza&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Splunk\NPCI\Mumbai]
recursive = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 12:26:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148846#M30293</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-05-01T12:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148847#M30294</link>
      <description>&lt;P&gt;So my command needs to be monitor://C:\Splunk\NPC\Munbai*&lt;BR /&gt;
recursive = true&lt;/P&gt;

&lt;P&gt;Is that right?&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 12:29:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148847#M30294</guid>
      <dc:creator>sushma7</dc:creator>
      <dc:date>2014-05-01T12:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148848#M30295</link>
      <description>&lt;P&gt;yes that should be fine if you are looking for reading out all the files recursively. May be you want to put sourcetype as well.&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 12:37:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148848#M30295</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-05-01T12:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148849#M30296</link>
      <description>&lt;P&gt;Should there be any slash after * in the above command?&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 13:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148849#M30296</guid>
      <dc:creator>sushma7</dc:creator>
      <dc:date>2014-05-01T13:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148850#M30297</link>
      <description>&lt;P&gt;Go to link below and search for "Note concerning wildcards and monitor" in the page&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 13:46:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148850#M30297</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-05-01T13:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148851#M30298</link>
      <description>&lt;P&gt;As directed by you, I have used the above syntax i.e. monitor://C:\Splunk\NPCI\Mumbai*&lt;BR /&gt;
recursive = true&lt;/P&gt;

&lt;P&gt;But it is not getting indexed automatically, Is there anything else that I need to include?&lt;/P&gt;

&lt;P&gt;Note: The folder Mumabi has 3 subfolders by names Axis, Hyderabad and NPCI. I need to monitor all these folders and contents within them. &lt;/P&gt;

&lt;P&gt;Kindly correct the command if I am wrong somewhere.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2014 08:54:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148851#M30298</guid>
      <dc:creator>sushma7</dc:creator>
      <dc:date>2014-05-02T08:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148852#M30299</link>
      <description>&lt;P&gt;splunk needs to recognize the files. What are the file format?&lt;/P&gt;</description>
      <pubDate>Sat, 03 May 2014 15:03:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148852#M30299</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-05-03T15:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148853#M30300</link>
      <description>&lt;P&gt;Is the monitored folder have active logs ?&lt;BR /&gt;
Try some editing in the files under the monitored path..  you should get data at search head&lt;/P&gt;</description>
      <pubDate>Sat, 03 May 2014 16:25:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148853#M30300</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-05-03T16:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148854#M30301</link>
      <description>&lt;P&gt;The files within the folder are text document. What is meant by active logs? What should I change?&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2014 15:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148854#M30301</guid>
      <dc:creator>sushma7</dc:creator>
      <dc:date>2014-05-04T15:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148855#M30302</link>
      <description>&lt;P&gt;did you change the monitor stanza which i have specified? If the files are not monitored until now, it will be monitored.&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2014 16:29:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148855#M30302</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-05-04T16:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148856#M30303</link>
      <description>&lt;P&gt;Yes I did the same as you specified i.e. [monitor://C:\Splunk\NPCI\Mumbai]&lt;BR /&gt;
recursive = true&lt;BR /&gt;
index = mdc&lt;BR /&gt;
But it's not detecting, I even want all of them to be indexed into the mdc that I have created rather than they getting indexed into default main. Hence I included index = mdc&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2014 16:34:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148856#M30303</guid>
      <dc:creator>sushma6</dc:creator>
      <dc:date>2014-05-04T16:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148857#M30304</link>
      <description>&lt;P&gt;whatever may be the file format , splunk will monitor the folder that you mentioned in the monitor stanza.&lt;BR /&gt;
Create a inputs.conf under the path:&lt;BR /&gt;
     /etc/apps/search/local/&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Splunk\NPCI\Mumbai]
recursive = true
index = mdc
sourcetype = Mumbai
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;test:&lt;BR /&gt;
Copy a text file inside the folder that you want to monitor and paste the file inside the same folder and rename the file. or edit the same and copy paste some contents for recent logs. Also check your outputs.conf is correct&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2014 16:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148857#M30304</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-05-04T16:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148858#M30305</link>
      <description>&lt;P&gt;Under search folder I could not find any local folder, there's only 3 folders under it by names default, lookups and metadata. I think if we edit inputs.conf under /etc/system/local its enough, is it not so?&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2014 17:05:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148858#M30305</guid>
      <dc:creator>sushma6</dc:creator>
      <dc:date>2014-05-04T17:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148859#M30306</link>
      <description>&lt;P&gt;that should be fine.. just give a try .. if folders doesn't exit create folders under the path i mentioned&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2014 17:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148859#M30306</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-05-04T17:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148860#M30307</link>
      <description>&lt;P&gt;It must be permission issue. Try giving proper access or move the files to another drive like E: or F: , it will start reading everything...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://E:\Splunk\NPCI\Mumbai]
recursive = true
index=mdc
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 04 May 2014 17:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148860#M30307</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-05-04T17:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148861#M30308</link>
      <description>&lt;P&gt;I tried this:&lt;/P&gt;

&lt;P&gt;[monitor://C:\Splunk\NPCI\Mumbai]&lt;BR /&gt;
recursive = true&lt;BR /&gt;
index = mdc&lt;BR /&gt;
sourcetype = Mumbai&lt;/P&gt;

&lt;P&gt;But not working. &lt;/P&gt;

&lt;P&gt;It is not permission issue, because when I read individual files it is getting indexed i.e&lt;/P&gt;

&lt;P&gt;[monitor://C:\Splunk\NPCI\Mumbai\2014_05_02\App01]&lt;BR /&gt;
index = mdc&lt;/P&gt;

&lt;P&gt;[monitor://C:\Splunk\NPCI\Mumbai\2014_05_03\App01]&lt;BR /&gt;
index = mdc&lt;/P&gt;

&lt;P&gt;but when I give the complete folder i.e. &lt;/P&gt;

&lt;P&gt;[monitor://C:\Splunk\NPCI\Mumbai]&lt;BR /&gt;
index = mdc&lt;/P&gt;

&lt;P&gt;to monitor its not getting indexed.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:31:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148861#M30308</guid>
      <dc:creator>sushma6</dc:creator>
      <dc:date>2020-09-28T16:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive monitoring of directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148862#M30309</link>
      <description>&lt;P&gt;Considering all the files are text files,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Splunk\NPCI\Mumbai]
recursive = true
index = mdc
sourcetype = Mumbai
whitelist = \.txt$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1.Delete the early index data in search head (index=mdc|delete)&lt;BR /&gt;
2.Edit your inputs.conf as above&lt;BR /&gt;
3.Restart the forwarder&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2014 18:10:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Recursive-monitoring-of-directories/m-p/148862#M30309</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-05-04T18:10:52Z</dc:date>
    </item>
  </channel>
</rss>

