<?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: File system changes (not log monitoring) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/File-system-changes-not-log-monitoring/m-p/188357#M37563</link>
    <description>&lt;P&gt;You should not be putting data in &lt;CODE&gt;_audit&lt;/CODE&gt;, that is an internal index for Splunk to index its own events. I know that there is some stuff in the documentation that talks about this index, but unless you have already done all the other auditing setup, it isn't going to work.&lt;/P&gt;

&lt;P&gt;Create a new index - you could call it &lt;CODE&gt;audit&lt;/CODE&gt; and send data to that index instead.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[fschange:/path/to/dir/]
index=audit
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, this feature is deprecated: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Monitorchangestoyourfilesystem"&gt;Monitor changes to your filesystem&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can still use it, but it might go away.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2014 15:31:51 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2014-06-04T15:31:51Z</dc:date>
    <item>
      <title>File system changes (not log monitoring)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-system-changes-not-log-monitoring/m-p/188356#M37562</link>
      <description>&lt;P&gt;Have an environment where a directory is used to 'stage' files waiting for an update.  Essentially, a file is sent to a vendor and a local status file (of zero or more bytes) is placed in a 'pending' directory.  Once the vendor has completed their work and a good return is received the local status file is moved to the 'done' directory. (This is done so a second process can use the listing to determine what status file to check for on it's run).&lt;/P&gt;

&lt;P&gt;What I want to do is monitor the '/pending' directory for new files only being worried about WHEN they showed up.  Then, if they haven't 'moved' in a predetermined amount of time (depending upon environment this could be two - eight hours) raise an alert.  This would also allow me to say "_time seen" and "_time gone" to build some metrics on vendor performance.&lt;/P&gt;

&lt;P&gt;All that being said, I am having issues getting it set up to forward from  my linux universal forwarder.  My inputs.conf stanza looks like:&lt;/P&gt;

&lt;P&gt;[fschange:/path/to/dir/]&lt;BR /&gt;&lt;BR /&gt;
signedaudit = false&lt;BR /&gt;&lt;BR /&gt;
index=_audit   &lt;/P&gt;

&lt;P&gt;I read that in one of the previous 'answers' questions.  Unfortunately, I am seeing no records in _audit or _internal for that host using the search head.&lt;/P&gt;

&lt;P&gt;Ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:47:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-system-changes-not-log-monitoring/m-p/188356#M37562</guid>
      <dc:creator>tyronetv</dc:creator>
      <dc:date>2020-09-28T16:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: File system changes (not log monitoring)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-system-changes-not-log-monitoring/m-p/188357#M37563</link>
      <description>&lt;P&gt;You should not be putting data in &lt;CODE&gt;_audit&lt;/CODE&gt;, that is an internal index for Splunk to index its own events. I know that there is some stuff in the documentation that talks about this index, but unless you have already done all the other auditing setup, it isn't going to work.&lt;/P&gt;

&lt;P&gt;Create a new index - you could call it &lt;CODE&gt;audit&lt;/CODE&gt; and send data to that index instead.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[fschange:/path/to/dir/]
index=audit
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, this feature is deprecated: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Monitorchangestoyourfilesystem"&gt;Monitor changes to your filesystem&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can still use it, but it might go away.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2014 15:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-system-changes-not-log-monitoring/m-p/188357#M37563</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-06-04T15:31:51Z</dc:date>
    </item>
  </channel>
</rss>

