<?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: IIS and Exchange Log Header Extraction in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12418#M915</link>
    <description>&lt;P&gt;I have created my manual extraction of the fields due to the fact that I've never had the CHECK_FOR_HEADER attribute to work.  Here's my IIS config:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;
[iis_default]
pulldown_type = true
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
REPORT-iis_default = iis_default

[iis_w3c]
pulldown_type = true
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
REPORT-iis_w3c = iis_w3c
TRANSFORMS-comment = comment
&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;
[no_header]
REGEX = NetBIOSName,DNSName,IP,MAC,OS,AuditID,CVE,Name,Description,Date,Risk,CVSSScore,FixInformation
DEST_KEY = queue
FORMAT = nullQueue

[iis_default]
FIELDS="c-ip","cs-username","date","time","service","s-name","s-ip","time-taken","c-sent","s-sent","sc-status","sc_win_status","cs_method","cs-uri-stem"
DELIMS = ","

[iis_w3c]
FIELDS="date","time","c-ip","cs-username","s-sitename","s-ip","s-port","cs-method","cs-uri-stem","cs-uri-query","sc-status","sc-win32-status","cs(User-Agent)"
DELIMS = " "
&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 Apr 2010 19:53:15 GMT</pubDate>
    <dc:creator>BunnyHop</dc:creator>
    <dc:date>2010-04-28T19:53:15Z</dc:date>
    <item>
      <title>IIS and Exchange Log Header Extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12417#M914</link>
      <description>&lt;P&gt;I have been running the latest Splunk 4.1.1 and have been unsuccessful at getting the auto header extraction to work for IIS or Exchange logs.  I am collecting the logs via a Splunk light forwarding agent installed on each of the servers, and then collecting the logs on my main Splunk server (Windows 2008 64bit).  From all of the forums and docs, it looks like the file I should be editing is the props.conf located in Splunk\etc\system\local (on the main Splunk indexing server).  I have added the following entries:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ExchangeMessageTracking]
pulldown_type = true 
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
CHECK_FOR_HEADER = True

[iis]
pulldown_type = true 
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
CHECK_FOR_HEADER = True
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After making the changes I have tried restarting the Splunk services and running "| extract reload=true".  I also tried placing these settings in Splunk\etc\apps\search\local.  However, nothing seems to work.  Splunk indexes the entire file, including the header lines that begin with a "#".  If anyone has any suggestions I would really appreciate them.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2010 05:08:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12417#M914</guid>
      <dc:creator>Justin</dc:creator>
      <dc:date>2010-04-28T05:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: IIS and Exchange Log Header Extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12418#M915</link>
      <description>&lt;P&gt;I have created my manual extraction of the fields due to the fact that I've never had the CHECK_FOR_HEADER attribute to work.  Here's my IIS config:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;
[iis_default]
pulldown_type = true
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
REPORT-iis_default = iis_default

[iis_w3c]
pulldown_type = true
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
REPORT-iis_w3c = iis_w3c
TRANSFORMS-comment = comment
&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;
[no_header]
REGEX = NetBIOSName,DNSName,IP,MAC,OS,AuditID,CVE,Name,Description,Date,Risk,CVSSScore,FixInformation
DEST_KEY = queue
FORMAT = nullQueue

[iis_default]
FIELDS="c-ip","cs-username","date","time","service","s-name","s-ip","time-taken","c-sent","s-sent","sc-status","sc_win_status","cs_method","cs-uri-stem"
DELIMS = ","

[iis_w3c]
FIELDS="date","time","c-ip","cs-username","s-sitename","s-ip","s-port","cs-method","cs-uri-stem","cs-uri-query","sc-status","sc-win32-status","cs(User-Agent)"
DELIMS = " "
&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Apr 2010 19:53:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12418#M915</guid>
      <dc:creator>BunnyHop</dc:creator>
      <dc:date>2010-04-28T19:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: IIS and Exchange Log Header Extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12419#M916</link>
      <description>&lt;P&gt;BunnyHop, I got the extraction to work by using your suggestion and I also got some additional information from this forum post:&lt;BR /&gt;
&lt;A href="http://www.splunk.com/support/forum:SplunkAdministration/3395"&gt;http://www.splunk.com/support/forum:SplunkAdministration/3395&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For anyone else with this problem, I only made changes on the main Splunk server and not on a forwarder.  I also did not need to restart the Splunk service(s) in order to see the changes take effect.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 01:47:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12419#M916</guid>
      <dc:creator>Justin</dc:creator>
      <dc:date>2010-04-29T01:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: IIS and Exchange Log Header Extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12420#M917</link>
      <description>&lt;P&gt;I have just uploaded &lt;A href="http://splunk-base.splunk.com/apps/28976/splunk-app-for-microsoft-exchange"&gt;Splunk App for Microsoft Exchange&lt;/A&gt;, which extracts the information you need.  I hope it helps you.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 18:09:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12420#M917</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2011-08-15T18:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: IIS and Exchange Log Header Extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12421#M918</link>
      <description>&lt;P&gt;I found a new format iis_v6, that seems to be for IIS version 6.0&lt;BR /&gt;
here are my settings.&lt;/P&gt;

&lt;PRE&gt;
inputs
[montiror:]
sourcetype=iis_v6
TZ=GMT

in props.conf
[iis_v6]
pulldown_type = true
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
REPORT-iis_v6 = iis_v6
TRANSFORMS-comment = iis_comment


in transforms.conf
[iis_v6]
FIELDS="date","time","s-sitename","s-computername","s-ip","cs-method","cs-uri-stem","cs-uri-query","s-port","cs-username","c-ip","cs-version","cs_User-Agent_","cs_Cookie_","cs_Referer_","cs-host","sc-status","sc-substatus","sc-win32-status","sc-bytes","cs-bytes","time-taken"
DELIMS = " "

[iis_comment]
REGEX = ^#
DEST_KEY = queue
FORMAT = nullQueue
&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Oct 2011 19:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12421#M918</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2011-10-14T19:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: IIS and Exchange Log Header Extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12422#M919</link>
      <description>&lt;P&gt;FYI CHECK_FOR_HEADER is deprecated since 5.0.*&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/ReleaseNotes/DeprecatedFeatures" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.4/ReleaseNotes/DeprecatedFeatures&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:40:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12422#M919</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2020-09-28T14:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: IIS and Exchange Log Header Extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12423#M920</link>
      <description>&lt;P&gt;It is an IIS log.  IIS.  Windows IIS.  This is about as common as logs are.  How about an out of the box solution? Just sayin.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:10:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12423#M920</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-28T00:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: IIS and Exchange Log Header Extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12424#M921</link>
      <description>&lt;P&gt;In Splunk 6, you can also use INDEXED_EXTRACTIONS=W3C which auto-extracts the fields from the headers at index-time.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2014 16:33:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-and-Exchange-Log-Header-Extraction/m-p/12424#M921</guid>
      <dc:creator>ogdin</dc:creator>
      <dc:date>2014-02-13T16:33:44Z</dc:date>
    </item>
  </channel>
</rss>

