<?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 fschange issues in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76654#M15652</link>
    <description>&lt;P&gt;This has been reported to support and is a known issue in 4.1.4 +. &lt;/P&gt;

&lt;P&gt;See the following: splunk.com/base/Documentation/4.1.4/ReleaseNotes &lt;/P&gt;

&lt;P&gt;You may be able to workaround this by creating a whitelist that excludes explicitly the files you'd normally blacklist.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2010 00:56:19 GMT</pubDate>
    <dc:creator>jbsplunk</dc:creator>
    <dc:date>2010-11-24T00:56:19Z</dc:date>
    <item>
      <title>multiple fschange issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76651#M15649</link>
      <description>&lt;P&gt;I have a few issues when trying to use fschange.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;even though fullEvent = true &amp;amp; sendEventMaxSize = -1, I am still getting one line per event/file.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;even though I have souretype = changed_files, I am getting other sourcetypes. (I get csv-2 for CSV files, conf-too_small, etc). I do get changed_files when source=fschangemonitor, but not when I look for the changes to the files themselves&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Even though I have whitelist/blacklist, I am still getting files that are not listed in whitelist (e.g. path="/opt/splunk/etc/system/local/.inputs.conf.swp or web.conf.old")&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;trying to monitor /opt/splunk/etc/system/local &amp;amp; /opt/splunk/etc/system/local/authentication with one directory.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I have reviewed the following pages, and they seem to contradict each other in the format for placement of options and stanza order. 
&lt;A href="http://www.splunk.com/base/Documentation/latest/AppManagement/Configurationmonitoring" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/AppManagement/Configurationmonitoring&lt;/A&gt;
&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Monitorchangestoyourfilesystem" target="test_blank"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Monitorchangestoyourfilesystem&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[fschange:/opt/splunk/etc/system/local]
sourcetype = changed_files
index = test
filters = configs,terminal-blacklist
recurse = true
followLinks = false
signedaudit = false
pollPeriod=30
fullEvent = true
sendEventMaxSize = -1
delayInMills = 1000

[filter:whitelist:configs]
regex1 = \.conf$
regex2 = \.py$
regex3 = \.csv$
regex4 = authentication

[filter:blacklist:terminal-blacklist]
regex1 = .?
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Oct 2010 21:17:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76651#M15649</guid>
      <dc:creator>tawollen</dc:creator>
      <dc:date>2010-10-25T21:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: multiple fschange issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76652#M15650</link>
      <description>&lt;P&gt;I removed regex4, and that seemed to fix the issue with blacklisted files getting indexed (authentication is a directory I have under system/local). I may just have to do multiple fschange stanzas &lt;/P&gt;

&lt;P&gt;When I removed all filters, Splunk indexed "README" file, that showed up all in one event and with the sourcetype=misc_text. &lt;/P&gt;

&lt;P&gt;So, it seems that if the sourcetype is csv-*, or *_too_small, it won't put it all in one event.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76652#M15650</guid>
      <dc:creator>tawollen</dc:creator>
      <dc:date>2020-09-28T09:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: multiple fschange issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76653#M15651</link>
      <description>&lt;P&gt;I am getting fields that include files that a) are not in the whitelist, b) have not been deleted (or changed)&lt;/P&gt;

&lt;P&gt;The fschange part of the stanza is now: &lt;/P&gt;

&lt;P&gt;[fschange:/opt/splunk/etc/system/local]&lt;BR /&gt;
index = test&lt;/P&gt;

&lt;H1&gt;fullEvent = true&lt;/H1&gt;

&lt;P&gt;filters = configs,terminal-blacklist&lt;BR /&gt;
recurse = true&lt;BR /&gt;
pollPeriod=60&lt;BR /&gt;
delayInMills = 1000&lt;/P&gt;

&lt;P&gt;Wed Nov  3 18:00:01 2010 action=delete, path="/opt/splunk/etc/system/local/web.conf-taw"&lt;BR /&gt;
Wed Nov  3 18:00:01 2010 action=delete, path="/opt/splunk/etc/system/local/transforms.conf.bak"&lt;BR /&gt;
Wed Nov  3 18:00:01 2010 action=delete, path="/opt/splunk/etc/system/local/props.conf.bak"&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2010 01:10:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76653#M15651</guid>
      <dc:creator>tawollen</dc:creator>
      <dc:date>2010-11-04T01:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: multiple fschange issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76654#M15652</link>
      <description>&lt;P&gt;This has been reported to support and is a known issue in 4.1.4 +. &lt;/P&gt;

&lt;P&gt;See the following: splunk.com/base/Documentation/4.1.4/ReleaseNotes &lt;/P&gt;

&lt;P&gt;You may be able to workaround this by creating a whitelist that excludes explicitly the files you'd normally blacklist.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2010 00:56:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/multiple-fschange-issues/m-p/76654#M15652</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2010-11-24T00:56:19Z</dc:date>
    </item>
  </channel>
</rss>

