<?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: multiple monitor for same directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/multiple-monitor-for-same-directory/m-p/59264#M11675</link>
    <description>&lt;P&gt;The monitor stanzas will be in inputs.conf and you can edit the file directly rather than use the UI but that should work as well.  You could just use the following and splunk will monitor all files in that directory.  &lt;/P&gt;

&lt;P&gt;[monitor://C:Documents and Settings\attgjh1\Desktop\test]&lt;/P&gt;

&lt;P&gt;You can also use wildcards&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/data/Specifyinputpathswithwildcards"&gt;http://docs.splunk.com/Documentation/Splunk/latest/data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If there are files you don't want you can use a blacklist like this.&lt;/P&gt;

&lt;P&gt;/#i want to ignore zipped files&lt;BR /&gt;
blacklist = .(gz|bz2|z|zip)$&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2012 10:36:26 GMT</pubDate>
    <dc:creator>sdaniels</dc:creator>
    <dc:date>2012-05-24T10:36:26Z</dc:date>
    <item>
      <title>multiple monitor for same directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/multiple-monitor-for-same-directory/m-p/59263#M11674</link>
      <description>&lt;P&gt;I am attempting to read different types of log into various sources. But all the logs belong in the same directory and i cannot have multiple monitors in them&lt;/P&gt;

&lt;P&gt;the various logs are located at desktop\test\&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;pulsar_handler_machineid.2012-05-28-(hour)&lt;/LI&gt;
&lt;LI&gt;inbound_handler_machineid.2012-05-28-(hour)&lt;/LI&gt;
&lt;LI&gt;outbound_handler... etc&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;My initial attempt involved only using websplunk but i realised we cannot have more than one monitor on the same directory. &lt;/P&gt;

&lt;P&gt;i tried with inputs.conf&lt;BR /&gt;&lt;BR /&gt;
[monitor://C:\Documents and Settings\attgjh1\Desktop\test\pulsar*]&lt;BR /&gt;&lt;BR /&gt;
disabled = false&lt;BR /&gt;&lt;BR /&gt;
followTail = 0&lt;BR /&gt;&lt;BR /&gt;
sourcetype = pulsar&lt;/P&gt;

&lt;P&gt;the same settings were also created for the other logs.&lt;BR /&gt;
however, splunk did not index any of the logs at all. (even after restarting)&lt;/P&gt;

&lt;P&gt;im fairly new to using props.conf and inputs.conf to do stuffs. &lt;BR /&gt;
can someone help me? thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 08:47:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/multiple-monitor-for-same-directory/m-p/59263#M11674</guid>
      <dc:creator>attgjh1</dc:creator>
      <dc:date>2012-05-24T08:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: multiple monitor for same directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/multiple-monitor-for-same-directory/m-p/59264#M11675</link>
      <description>&lt;P&gt;The monitor stanzas will be in inputs.conf and you can edit the file directly rather than use the UI but that should work as well.  You could just use the following and splunk will monitor all files in that directory.  &lt;/P&gt;

&lt;P&gt;[monitor://C:Documents and Settings\attgjh1\Desktop\test]&lt;/P&gt;

&lt;P&gt;You can also use wildcards&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/data/Specifyinputpathswithwildcards"&gt;http://docs.splunk.com/Documentation/Splunk/latest/data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If there are files you don't want you can use a blacklist like this.&lt;/P&gt;

&lt;P&gt;/#i want to ignore zipped files&lt;BR /&gt;
blacklist = .(gz|bz2|z|zip)$&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 10:36:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/multiple-monitor-for-same-directory/m-p/59264#M11675</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-05-24T10:36:26Z</dc:date>
    </item>
  </channel>
</rss>

