<?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 changes to configuration files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15203#M1680</link>
    <description>&lt;P&gt;Trying to monitor changes to configuration files.&lt;/P&gt;

&lt;P&gt;Followed this article:
&lt;A href="http://www.splunk.com/base/Documentation/4.0.9/Admin/Monitorchangestoyourfilesystem" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.0.9/Admin/Monitorchangestoyourfilesystem&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Created Data Input in Splunk Manager. Here is the inputs.conf (added pollPeriod manually):&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;[monitor://\192.168.1.12\Siteroot\Web.config]&lt;/P&gt;

&lt;P&gt;disabled = false&lt;/P&gt;

&lt;P&gt;host = SIT-APP-shared&lt;/P&gt;

&lt;P&gt;host_regex = &lt;/P&gt;

&lt;P&gt;host_segment = &lt;/P&gt;

&lt;P&gt;index = main&lt;/P&gt;

&lt;P&gt;sourcetype = &lt;/P&gt;

&lt;P&gt;pollPeriod = 60&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Restarted splunk after changes, share has full permissions for everyone.&lt;/P&gt;

&lt;P&gt;Then I change web.config file. Do search in Splunk - nothing.&lt;/P&gt;

&lt;P&gt;Does the configuration look right? How do I debug it to see if it's connecting to the share, how often, error messages etc.?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jun 2010 03:17:47 GMT</pubDate>
    <dc:creator>kkuminsky</dc:creator>
    <dc:date>2010-06-10T03:17:47Z</dc:date>
    <item>
      <title>Monitoring changes to configuration files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15203#M1680</link>
      <description>&lt;P&gt;Trying to monitor changes to configuration files.&lt;/P&gt;

&lt;P&gt;Followed this article:
&lt;A href="http://www.splunk.com/base/Documentation/4.0.9/Admin/Monitorchangestoyourfilesystem" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.0.9/Admin/Monitorchangestoyourfilesystem&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Created Data Input in Splunk Manager. Here is the inputs.conf (added pollPeriod manually):&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;[monitor://\192.168.1.12\Siteroot\Web.config]&lt;/P&gt;

&lt;P&gt;disabled = false&lt;/P&gt;

&lt;P&gt;host = SIT-APP-shared&lt;/P&gt;

&lt;P&gt;host_regex = &lt;/P&gt;

&lt;P&gt;host_segment = &lt;/P&gt;

&lt;P&gt;index = main&lt;/P&gt;

&lt;P&gt;sourcetype = &lt;/P&gt;

&lt;P&gt;pollPeriod = 60&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Restarted splunk after changes, share has full permissions for everyone.&lt;/P&gt;

&lt;P&gt;Then I change web.config file. Do search in Splunk - nothing.&lt;/P&gt;

&lt;P&gt;Does the configuration look right? How do I debug it to see if it's connecting to the share, how often, error messages etc.?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2010 03:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15203#M1680</guid>
      <dc:creator>kkuminsky</dc:creator>
      <dc:date>2010-06-10T03:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring changes to configuration files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15204#M1681</link>
      <description>&lt;P&gt;What you want to do is fschange (filesystem change) monitoring which is different from monitoring.  If you modify you configuration to look like that in the example on the page you linked to, it should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[fschange:/var/apache] 
index = sample 
recurse = true 
followLinks = false 
signedaudit = false 
fullEvent = true 
sendEventMaxSize = 1048576 
delayInMills = 1000 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Jun 2010 13:28:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15204#M1681</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-06-10T13:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring changes to configuration files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15205#M1682</link>
      <description>&lt;P&gt;Yes, you are right. It looks like I shouldn't rely that much on GUI.&lt;/P&gt;

&lt;P&gt;So, I've changed the config (see below). Now I don't see this record in Splunk Manager under Data Inputs anymore. Also, when I make changes to the file I'm still not able to find any records when doing search.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;[fschange:\10.255.1.20\Siteroot\Web.config]&lt;/P&gt;

&lt;P&gt;index = main&lt;/P&gt;

&lt;P&gt;recurse = true&lt;/P&gt;

&lt;P&gt;followLinks = false&lt;/P&gt;

&lt;P&gt;signedaudit = false&lt;/P&gt;

&lt;P&gt;fullEvent = true&lt;/P&gt;

&lt;P&gt;sendEventMaxSize = 1048576&lt;/P&gt;

&lt;P&gt;delayInMills = 1000&lt;/P&gt;

&lt;P&gt;pollPeriod = 60&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2010 21:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15205#M1682</guid>
      <dc:creator>kkuminsky</dc:creator>
      <dc:date>2010-06-10T21:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring changes to configuration files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15206#M1683</link>
      <description>&lt;P&gt;It appears that it's working for local files - [fschange:C:\TEMP\test.txt], 
but not for network - [fschange:\10.255.1.20\Siteroot\Web.config]&lt;/P&gt;

&lt;P&gt;So, I guess the question is how to monitor files on other machines in the network.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2010 22:23:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15206#M1683</guid>
      <dc:creator>kkuminsky</dc:creator>
      <dc:date>2010-06-10T22:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring changes to configuration files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15207#M1684</link>
      <description>&lt;P&gt;OK, the reason it was not working is that Splunk services were running under Local System account.&lt;/P&gt;

&lt;P&gt;Here are the articles I used to fix it:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Installation/InstallonWindows#Choosing_the_user_Splunk_should_run_as" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Installation/InstallonWindows#Choosing_the_user_Splunk_should_run_as&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Installation/CorrectingtheuserselectedduringWindowsinstallation" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Installation/CorrectingtheuserselectedduringWindowsinstallation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2010 00:16:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-changes-to-configuration-files/m-p/15207#M1684</guid>
      <dc:creator>kkuminsky</dc:creator>
      <dc:date>2010-06-11T00:16:54Z</dc:date>
    </item>
  </channel>
</rss>

