<?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: Monitoring files from multiple inputs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-files-from-multiple-inputs/m-p/54985#M10703</link>
    <description>&lt;P&gt;In general terms these two directories separate entities. While they are in the same tree, these have different inodes and you can monitor each individually. So, the answer to your question is to create two (2) separate entries in inputs.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/lib/usr]
sourcetype = answers-1370379558 

[monitor:///var/lib/newuser/usr]
sourcetype = answers-1370379591 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;Is there more to your question?&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2013 21:00:34 GMT</pubDate>
    <dc:creator>Gilberto_Castil</dc:creator>
    <dc:date>2013-06-04T21:00:34Z</dc:date>
    <item>
      <title>Monitoring files from multiple inputs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-files-from-multiple-inputs/m-p/54984#M10702</link>
      <description>&lt;P&gt;How can I set my monitor in inputs.conf so that both of these directories are monitored-&lt;BR /&gt;
1./var/lib/usr&lt;BR /&gt;
2. /var/lib/newuser/usr&lt;/P&gt;

&lt;P&gt;If I do [monitor:///var/lib/.../usr/] - will that work for both? Or will that assume that there is at least one subdirectory between "lib" and "usr"&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2013 18:00:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-files-from-multiple-inputs/m-p/54984#M10702</guid>
      <dc:creator>anna_kendrik</dc:creator>
      <dc:date>2013-06-04T18:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring files from multiple inputs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-files-from-multiple-inputs/m-p/54985#M10703</link>
      <description>&lt;P&gt;In general terms these two directories separate entities. While they are in the same tree, these have different inodes and you can monitor each individually. So, the answer to your question is to create two (2) separate entries in inputs.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/lib/usr]
sourcetype = answers-1370379558 

[monitor:///var/lib/newuser/usr]
sourcetype = answers-1370379591 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;Is there more to your question?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2013 21:00:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-files-from-multiple-inputs/m-p/54985#M10703</guid>
      <dc:creator>Gilberto_Castil</dc:creator>
      <dc:date>2013-06-04T21:00:34Z</dc:date>
    </item>
  </channel>
</rss>

