<?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: Monitor Windows IIS Log File in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392858#M70173</link>
    <description>&lt;P&gt;I thought of doing multi monitors in a single stanza but I was trying to account for the unknown as unfortunately depending on the website admin depends on where they would of put the logs. I could take the approach of monitoring the standard IIS path but fear this will miss out key information. I had intended to quote some script to detect the iis log configuration on each server and create an input with these paths but was trying to find something that could takethis into account for current and new systems that came along.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Jul 2019 01:34:54 GMT</pubDate>
    <dc:creator>willadams</dc:creator>
    <dc:date>2019-07-20T01:34:54Z</dc:date>
    <item>
      <title>Monitor Windows IIS Log File</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392856#M70171</link>
      <description>&lt;P&gt;I am not sure where I have gone wrong but I am trying to take in logs from a number of IIS web servers.  The log files for each server doesn't maintain defaults depending on the website.  Some services write default logs (i.e. c\inetpub\wwwroot\logs\w3svc*\something.log where other services are using D:\Logs\W3SVC*\something.log.&lt;/P&gt;

&lt;P&gt;I created a deployment app to extract the log file using a direct path and this works correctly.&lt;/P&gt;

&lt;P&gt;[monitor://D:\Logs\IIS\W3SVC3\*.log]&lt;BR /&gt;
index=web_iis&lt;BR /&gt;
sourcetype=iis&lt;/P&gt;

&lt;P&gt;However I tried to break this out so that I could monitor all drives and try and do a recursive search for a folder to pick up the same log.  I tried the following configuration (same index / source type so not added below)&lt;/P&gt;

&lt;P&gt;[monitor:[A-Z]:*\Logs*.log] &amp;lt;-- this doesn't work&lt;BR /&gt;
[monitor:\...\Logs\&lt;EM&gt;.log] &amp;lt;-- this doesn't work&lt;BR /&gt;
[monitor:[A-Z]:\...\W3SVC&lt;/EM&gt;\*.log &amp;lt;-- this doesn't work&lt;/P&gt;

&lt;P&gt;Is there anyway to get this to work so I can recursively search through whatever drives are on the system for a log file that I expect in W3SVC*?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392856#M70171</guid>
      <dc:creator>willadams</dc:creator>
      <dc:date>2020-09-30T01:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Windows IIS Log File</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392857#M70172</link>
      <description>&lt;P&gt;Hi willadams,&lt;BR /&gt;
if you don't have too much paths to monitor, did you tried to use more stanzas?&lt;BR /&gt;
e.g.:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://c\inetpub\wwwroot\logs\w3svc*\something.log]
...
[monitor://D:\Logs\W3SVC*\something.log]
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this way only one stanza will read your logs but you have in only one inpus.conf all the paths to monitor.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 15:07:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392857#M70172</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-07-19T15:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Windows IIS Log File</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392858#M70173</link>
      <description>&lt;P&gt;I thought of doing multi monitors in a single stanza but I was trying to account for the unknown as unfortunately depending on the website admin depends on where they would of put the logs. I could take the approach of monitoring the standard IIS path but fear this will miss out key information. I had intended to quote some script to detect the iis log configuration on each server and create an input with these paths but was trying to find something that could takethis into account for current and new systems that came along.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jul 2019 01:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392858#M70173</guid>
      <dc:creator>willadams</dc:creator>
      <dc:date>2019-07-20T01:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Windows IIS Log File</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392859#M70174</link>
      <description>&lt;P&gt;If I interrogate this registry entry (HKLM\SOFTWARE\Microsoft\WebManagement\Server\LoggingDirectory (REG_SZ)) then the single stanza monitoring could be constructed but where there are multiple websites with potentially multiple log locations on a single box this is where it becomes an administration overhead once the one query to sit then all.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jul 2019 01:40:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-Windows-IIS-Log-File/m-p/392859#M70174</guid>
      <dc:creator>willadams</dc:creator>
      <dc:date>2019-07-20T01:40:39Z</dc:date>
    </item>
  </channel>
</rss>

