<?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 Monitor files in a directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-in-a-directory/m-p/131000#M26934</link>
    <description>&lt;P&gt;Is there anyway for Splunk to monitor files in a directory? I do not need the content of the files to be analysis (since it is not a log file) but more to list new files in a directory.&lt;/P&gt;

&lt;P&gt;The specific scenario is that I am creating a operation monitoring dashboard. One of the panel will contain random documents which contains security alerts from various sources. The format of the file could be PDF, random text in a text file, email etc - which they do not have a structure format. It is not an XML feed from external. I want to make the operations team aware that an alert come it from authoritative source for further analysis.&lt;/P&gt;

&lt;P&gt;What will be the best way to do that? Thank you in advance for your input.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jul 2014 05:23:40 GMT</pubDate>
    <dc:creator>Wilson</dc:creator>
    <dc:date>2014-07-04T05:23:40Z</dc:date>
    <item>
      <title>Monitor files in a directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-in-a-directory/m-p/131000#M26934</link>
      <description>&lt;P&gt;Is there anyway for Splunk to monitor files in a directory? I do not need the content of the files to be analysis (since it is not a log file) but more to list new files in a directory.&lt;/P&gt;

&lt;P&gt;The specific scenario is that I am creating a operation monitoring dashboard. One of the panel will contain random documents which contains security alerts from various sources. The format of the file could be PDF, random text in a text file, email etc - which they do not have a structure format. It is not an XML feed from external. I want to make the operations team aware that an alert come it from authoritative source for further analysis.&lt;/P&gt;

&lt;P&gt;What will be the best way to do that? Thank you in advance for your input.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2014 05:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-in-a-directory/m-p/131000#M26934</guid>
      <dc:creator>Wilson</dc:creator>
      <dc:date>2014-07-04T05:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor files in a directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-in-a-directory/m-p/131001#M26935</link>
      <description>&lt;P&gt;I'd suggest the 'script' type input. &lt;/P&gt;

&lt;P&gt;1) Write a short shell script that prints the data and time and then lists the contents of the directory. Put this script in the ./bin dir of the app.&lt;BR /&gt;
2) In inputs.conf use the 'script' type input to run the script on a regular basis with the 'interval' param.&lt;BR /&gt;
3) In splunk search you could then check for differences in the output.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2014 05:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-in-a-directory/m-p/131001#M26935</guid>
      <dc:creator>datasearchninja</dc:creator>
      <dc:date>2014-07-04T05:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor files in a directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-in-a-directory/m-p/131002#M26936</link>
      <description>&lt;P&gt;Thank you Colin. I will give this a go.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2014 05:55:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-files-in-a-directory/m-p/131002#M26936</guid>
      <dc:creator>Wilson</dc:creator>
      <dc:date>2014-07-04T05:55:29Z</dc:date>
    </item>
  </channel>
</rss>

