<?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 Monitoring File Directories but not indexing file contents in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527606#M88974</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Sorry for the really newb question (because I am one).&lt;BR /&gt;&lt;BR /&gt;I have Splunk Enterprise running on my standalone PC to evaluate it. I have managed to get Splunk to monitor my PC's volumes, directories &amp;amp; files OK...but the **bleep** thing insists on trying to index the contents of every file too. Obviously, this is very resource-intensive and I really don't want the file contents indexed.&lt;/P&gt;&lt;P&gt;How do I stop it indexing the file contents? Or, even better, tell it not to index any file contents except for specific file extensions?&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 21:45:35 GMT</pubDate>
    <dc:creator>Highlander22</dc:creator>
    <dc:date>2020-11-02T21:45:35Z</dc:date>
    <item>
      <title>Monitoring File Directories but not indexing file contents</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527606#M88974</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Sorry for the really newb question (because I am one).&lt;BR /&gt;&lt;BR /&gt;I have Splunk Enterprise running on my standalone PC to evaluate it. I have managed to get Splunk to monitor my PC's volumes, directories &amp;amp; files OK...but the **bleep** thing insists on trying to index the contents of every file too. Obviously, this is very resource-intensive and I really don't want the file contents indexed.&lt;/P&gt;&lt;P&gt;How do I stop it indexing the file contents? Or, even better, tell it not to index any file contents except for specific file extensions?&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 21:45:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527606#M88974</guid>
      <dc:creator>Highlander22</dc:creator>
      <dc:date>2020-11-02T21:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring File Directories but not indexing file contents</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527751#M88997</link>
      <description>&lt;P&gt;Indexing files is Splunk's reason for being.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look at the fschange monitor in inputs.conf.&amp;nbsp; It's a deprecated feature so it may so away in a future release, but it may be want you seek.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 15:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527751#M88997</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-03T15:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring File Directories but not indexing file contents</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527756#M88998</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228356"&gt;@Highlander22&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you could create a scripted input that runs (e.g. every hour) a script containing the "dir" command (in Windows) or the "ls" command (in Linux).&lt;/P&gt;&lt;P&gt;in this way you have the list of the files of a folder, without indexing file contents, and you can compare the lists in different time periods.&lt;/P&gt;&lt;P&gt;ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 15:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527756#M88998</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-11-03T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring File Directories but not indexing file contents</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527780#M89001</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&amp;amp; &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt; &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; for taking the time to respond.&lt;BR /&gt;&lt;BR /&gt;I think I have the solution: I already had the "File Meta-data" app but was using the "Files &amp;amp; Directories" "Data Input" (which does index the contents of the file/all files in the directory) rather than the "File Meta-data" "Data Input" (which "Import[s] file and directory meta-data (size, modification dates, etc.)". This also adds a new "File Meta-data" entry in the "Add Data" "Monitor" sources too.&lt;/P&gt;&lt;P&gt;I have it timed to run every 24 hours so will have to wait 24 hours for it to have triggered at some time in the interim. The documentation on that "File Meta-data" app is rather spartan to say the least but I think I am on the right path. Just need a bit of trial and error now, I think.&lt;BR /&gt;&lt;BR /&gt;I have upvoted both of you though &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;- In my old programming days, yes, I would have created such a script but I expected that such integrated tools like Splunk should be able to integrate directly with the FS by now to at least do that for me &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;- If I can't get my expected solution to work (it bloody well should work), I will have a look at yours next. There's always different ways of skinning the same cat...though, yes, this is quite a primitive cat to have Splunk get its teeth into.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 16:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-File-Directories-but-not-indexing-file-contents/m-p/527780#M89001</guid>
      <dc:creator>Highlander22</dc:creator>
      <dc:date>2020-11-03T16:56:48Z</dc:date>
    </item>
  </channel>
</rss>

