<?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: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388807#M47446</link>
    <description>&lt;P&gt;If you know the full file path of the logs you are trying to monitor.  Can you search index=_internal for that file path and see if the system is attempting to monitor the files and maybe receiving a permissions error? &lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 18:50:56 GMT</pubDate>
    <dc:creator>kgderrekchapin</dc:creator>
    <dc:date>2019-07-16T18:50:56Z</dc:date>
    <item>
      <title>Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388803#M47442</link>
      <description>&lt;P&gt;I have configured Splunk addon for Microsoft IIS inputs. Please find below the input configuration.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\inetpub\logs\LogFiles\\*\\*]
disabled = 0
sourcetype = ms:iis:auto
index = windows_iis
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I don't see any IIS logs coming in. &lt;BR /&gt;
I also have other apps installed on this machine and can see the data from those apps. &lt;BR /&gt;
Is something wrong with the input configuration?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 20:30:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388803#M47442</guid>
      <dc:creator>skrish91</dc:creator>
      <dc:date>2019-07-15T20:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388804#M47443</link>
      <description>&lt;P&gt;What errors are you seeing for the expected file in $SPUNK_HOME/var/log/splunk/splunkd.log? &lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 21:14:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388804#M47443</guid>
      <dc:creator>kgderrekchapin</dc:creator>
      <dc:date>2019-07-15T21:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388805#M47444</link>
      <description>&lt;P&gt;I dont see any errors but I also dont see any data coming in.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 21:27:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388805#M47444</guid>
      <dc:creator>skrish91</dc:creator>
      <dc:date>2019-07-15T21:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388806#M47445</link>
      <description>&lt;P&gt;It's probably your monitor path &lt;/P&gt;

&lt;P&gt;Try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\inetpub\logs\LogFiles\*]
disabled = 0
sourcetype = ms:iis:auto
index = windows_iis
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#MONITOR:"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#MONITOR:&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Note concerning wildcards and monitor:
* You can use wildcards to specify your input path for monitored inputs. Use
  "..." for recursive directory matching and "*" for wildcard matching in a
  single directory segment.
* "..." recurses through directories. This means that /foo/.../bar matches
  foo/1/bar, foo/1/2/bar, etc.
* You can use multiple "..." specifications in a single input path. For
  example: /foo/.../bar/...
* The asterisk (*) matches anything in a single path segment; unlike "...", it
  does not recurse. For example, /foo/*/bar matches the files
  /foo/1/bar, /foo/2/bar, etc. However, it does not match
  /foo/bar or /foo/1/2/bar.
  A second example: /foo/m*r/bar matches /foo/mr/bar, /foo/mir/bar,
  /foo/moor/bar, etc. It does not match /foo/mi/or/bar.
* You can combine "*" and "..." as needed: foo/.../bar/* matches any file in
  the bar directory within the specified path.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk is recursive by default&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;recursive = &amp;lt;boolean&amp;gt;
* Whether or not the input monitors subdirectories that it finds within a
  monitored directory.
* If you set this setting to "false", the input does not monitor sub-directories
* Default: true.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jul 2019 22:00:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388806#M47445</guid>
      <dc:creator>mmqt</dc:creator>
      <dc:date>2019-07-15T22:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388807#M47446</link>
      <description>&lt;P&gt;If you know the full file path of the logs you are trying to monitor.  Can you search index=_internal for that file path and see if the system is attempting to monitor the files and maybe receiving a permissions error? &lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 18:50:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388807#M47446</guid>
      <dc:creator>kgderrekchapin</dc:creator>
      <dc:date>2019-07-16T18:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388808#M47447</link>
      <description>&lt;P&gt;I just ingested IIS logs a week or two ago. My inputs.conf for TA-Windows-Exchange-IIS that I am pushing out from my deployment server has this stanza (make sure to have the UFs restarted):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\inetpub\logs\LogFiles\W3SVC1]
whitelist = \.log$|\.LOG$
sourcetype=MSExchange:2013:ActiveSync
queue=parsingQueue
ignoreOlderThan=-1d
index=msexchange
disabled=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then my props.conf on my indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[MSExchange:2013:ActiveSync]
TRANSFORMS-set = setnull,setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And the transforms.conf on my indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX = (?i)activesync
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is my rex (implemented at search time. Not great, I know):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"(?&amp;lt;date&amp;gt;\S+?)\s+?(?&amp;lt;time&amp;gt;\S+?)\s+?(?&amp;lt;ip1&amp;gt;\S+?)\s+?(?&amp;lt;action&amp;gt;\S+?)\s+?(?&amp;lt;file&amp;gt;\S+?)\s+?(?&amp;lt;long&amp;gt;\S+?)\s+?(?&amp;lt;port&amp;gt;\S+?)\s+?(?&amp;lt;id&amp;gt;\S+?)\s+?(?&amp;lt;ip2&amp;gt;\S+?)\s+?(?&amp;lt;device&amp;gt;\S+?) - (?&amp;lt;num&amp;gt;[\s\S]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Jul 2019 18:59:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388808#M47447</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-07-16T18:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388809#M47448</link>
      <description>&lt;P&gt;I agree with the problem being your stanza header. Did you try what @mmqt suggested?  You need to come back here and followup with your situation and add or &lt;CODE&gt;Accept&lt;/CODE&gt; an answer.  Also, usually IIS inputs use &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; feature which was actually developed just for this data source:&lt;BR /&gt;
&lt;A href="https://www.splunk.com/blog/2013/10/18/iis-logs-and-splunk-6.html"&gt;https://www.splunk.com/blog/2013/10/18/iis-logs-and-splunk-6.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2019 11:36:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388809#M47448</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-28T11:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388810#M47449</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the suggestion. [monitor://C:\inetpub\logs\LogFiles*] doesnt work for some reason. &lt;/P&gt;

&lt;P&gt;Solution:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[monitor://C:\inetpub\logs\LogFiles\...\*.log]&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Also I was being stupid while searching for this logs. I always included host field in the search and this particular source doesnt include 'host' field by default. That is the reason I didnt get any output when I searched for it.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 13:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/388810#M47449</guid>
      <dc:creator>skrish91</dc:creator>
      <dc:date>2019-08-05T13:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft IIS: Inputs configuration doesn't work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/517325#M63260</link>
      <description>&lt;P&gt;For some reason I can change the index which &lt;SPAN&gt;Splunk addon for Microsoft IIS sends data.&amp;nbsp; After I added the index line, it still sends to main&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;[monitor://C:\inetpub\logs\LogFiles\]&lt;BR /&gt;disabled = 0&lt;BR /&gt;sourcetype = ms:iis:default&lt;BR /&gt;index = iis_logs&lt;/P&gt;&lt;P&gt;Changed index to iis_logs, but still sending to main.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 21:20:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-IIS-Inputs-configuration-doesn-t/m-p/517325#M63260</guid>
      <dc:creator>petemorf</dc:creator>
      <dc:date>2020-09-01T21:20:33Z</dc:date>
    </item>
  </channel>
</rss>

