<?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 Problem forwarding Advanced IIS Logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129814#M26659</link>
    <description>&lt;P&gt;I am experiencing an issue where my universal forwarder (v5.0.4) is not forwarding my IIS Advanced Logs to the indexer.  Here is the stanza from my inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor://F:\inetpub\logs\LogFiles\W3SVC1\]&lt;BR /&gt;&lt;BR /&gt;
disabled = false&lt;BR /&gt;&lt;BR /&gt;
whitelist = iis_D(\d+)-(\d+).log&lt;BR /&gt;&lt;BR /&gt;
sourcetype = adviis&lt;BR /&gt;&lt;BR /&gt;
index = adviis  &lt;/P&gt;

&lt;P&gt;I can tell it sees the logs because I get these entries in my metrics.log:&lt;/P&gt;

&lt;P&gt;11-05-2013 14:28:01.726 -0600 INFO  Metrics - group=per_index_thruput, series="adviis", kbps=0.012349, eps=0.161290, kb=0.382813, ev=5, avg_age=0.600000, max_age=3&lt;/P&gt;

&lt;P&gt;11-05-2013 14:28:01.726 -0600 INFO  Metrics - group=per_source_thruput, series="f:\inetpub\logs\logfiles\w3svc1\iis_d20131105-202617637.log", kbps=0.012349, eps=0.161290, kb=0.382813, ev=5, avg_age=0.600000, max_age=3&lt;/P&gt;

&lt;P&gt;11-05-2013 14:28:01.726 -0600 INFO  Metrics - group=per_sourcetype_thruput, series="adviis", kbps=0.012349, eps=0.161290, kb=0.382813, ev=5, avg_age=0.600000, max_age=3&lt;/P&gt;

&lt;P&gt;And my splunkd.log shows it watching the folder:&lt;/P&gt;

&lt;P&gt;11-05-2013 13:38:04.363 -0600 INFO  TailingProcessor - Adding watch on path: F:\inetpub\logs\LogFiles\W3SVC1.&lt;/P&gt;

&lt;P&gt;So why is nothing showing up in my index?  I can forward WinEventLogs and standard IIS logs with no issue between these two machines.  I even manually imported one of these logs into the indexer just to make sure the "adviis" index and sourcetypes existed (I know that shouldn't be necessary).&lt;/P&gt;

&lt;P&gt;I've cleared the fishbucket multiple times, but these files just won't budge.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Shane's answer accounted for everything but my ineptitude and ignorance about how the search head relates to an indexer.  From the Manager in the web interface, &lt;STRONG&gt;if you create an index, it is going to create the index on the machine that web UI represents&lt;/STRONG&gt;.  In my case, I was just creating the adviis index on the search head.  No amount of forwarding to the indexer is going to find that index.  &lt;/P&gt;

&lt;P&gt;To get everything lined up properly, I had to delete the adviis index from the search head and delete the corresponding adviis index folder from /Splunk/var/lib/splunk/.  Then I deleted the assorted attempted copies of the same folder and indexes.conf files that had been generated.  Then (after finally remembering the login for the indexer), I logged into the web UI on the indexer and created the adviis index through the Manager that way.  Now all the bits and pieces were in place, I flushed the fishbucket on my forwarder and data started moving.&lt;/P&gt;

&lt;P&gt;So all of Shane's advice was correct, if I had created the index properly in the first place.  Thank you Shane!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:12:37 GMT</pubDate>
    <dc:creator>DaClyde</dc:creator>
    <dc:date>2020-09-28T15:12:37Z</dc:date>
    <item>
      <title>Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129814#M26659</link>
      <description>&lt;P&gt;I am experiencing an issue where my universal forwarder (v5.0.4) is not forwarding my IIS Advanced Logs to the indexer.  Here is the stanza from my inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor://F:\inetpub\logs\LogFiles\W3SVC1\]&lt;BR /&gt;&lt;BR /&gt;
disabled = false&lt;BR /&gt;&lt;BR /&gt;
whitelist = iis_D(\d+)-(\d+).log&lt;BR /&gt;&lt;BR /&gt;
sourcetype = adviis&lt;BR /&gt;&lt;BR /&gt;
index = adviis  &lt;/P&gt;

&lt;P&gt;I can tell it sees the logs because I get these entries in my metrics.log:&lt;/P&gt;

&lt;P&gt;11-05-2013 14:28:01.726 -0600 INFO  Metrics - group=per_index_thruput, series="adviis", kbps=0.012349, eps=0.161290, kb=0.382813, ev=5, avg_age=0.600000, max_age=3&lt;/P&gt;

&lt;P&gt;11-05-2013 14:28:01.726 -0600 INFO  Metrics - group=per_source_thruput, series="f:\inetpub\logs\logfiles\w3svc1\iis_d20131105-202617637.log", kbps=0.012349, eps=0.161290, kb=0.382813, ev=5, avg_age=0.600000, max_age=3&lt;/P&gt;

&lt;P&gt;11-05-2013 14:28:01.726 -0600 INFO  Metrics - group=per_sourcetype_thruput, series="adviis", kbps=0.012349, eps=0.161290, kb=0.382813, ev=5, avg_age=0.600000, max_age=3&lt;/P&gt;

&lt;P&gt;And my splunkd.log shows it watching the folder:&lt;/P&gt;

&lt;P&gt;11-05-2013 13:38:04.363 -0600 INFO  TailingProcessor - Adding watch on path: F:\inetpub\logs\LogFiles\W3SVC1.&lt;/P&gt;

&lt;P&gt;So why is nothing showing up in my index?  I can forward WinEventLogs and standard IIS logs with no issue between these two machines.  I even manually imported one of these logs into the indexer just to make sure the "adviis" index and sourcetypes existed (I know that shouldn't be necessary).&lt;/P&gt;

&lt;P&gt;I've cleared the fishbucket multiple times, but these files just won't budge.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Shane's answer accounted for everything but my ineptitude and ignorance about how the search head relates to an indexer.  From the Manager in the web interface, &lt;STRONG&gt;if you create an index, it is going to create the index on the machine that web UI represents&lt;/STRONG&gt;.  In my case, I was just creating the adviis index on the search head.  No amount of forwarding to the indexer is going to find that index.  &lt;/P&gt;

&lt;P&gt;To get everything lined up properly, I had to delete the adviis index from the search head and delete the corresponding adviis index folder from /Splunk/var/lib/splunk/.  Then I deleted the assorted attempted copies of the same folder and indexes.conf files that had been generated.  Then (after finally remembering the login for the indexer), I logged into the web UI on the indexer and created the adviis index through the Manager that way.  Now all the bits and pieces were in place, I flushed the fishbucket on my forwarder and data started moving.&lt;/P&gt;

&lt;P&gt;So all of Shane's advice was correct, if I had created the index properly in the first place.  Thank you Shane!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:12:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129814#M26659</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2020-09-28T15:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129815#M26660</link>
      <description>&lt;P&gt;If you are monitoring that exact path twice, one entry will be ignored. You will have to bring them both in with a single monitor stanza, then use props.conf and transforms.conf to distinguish sourcetypes at index time.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis_log]
NO_BINARY_CHECK = 1
#TRANSFORMS-0_define_sourcetype = iis_sourcetype_transform
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis_sourcetype_transform]
SOURCE_KEY = MetaData:Source
REGEX = iis_D(d+)-(d+).log
DEST_KEY = MetaData:Sourcetype
FORMAT =  sourcetype::adviis
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does that help?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 20:54:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129815#M26660</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-11-05T20:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129816#M26661</link>
      <description>&lt;P&gt;I agree with Shane, make sure you don't have conflicting stanzas in inputs/props/transforms..&lt;/P&gt;

&lt;P&gt;Another thing you can check the timestamp recognition, I've had something similiar in the past where I thought the logs weren't being indexed only to discover that it had been put into the wrong index or under the wrong sourcetype or the timestamp had read it wrong so it was sitting there but marked as a year ago.. &lt;/P&gt;

&lt;P&gt;You can check by just searching for the source=&lt;EM&gt;inetpub\logs\LogFiles\W3SVC1&lt;/EM&gt; over ALL TIME.. that should pick up any instances of the files that have been indexed.. &lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 21:07:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129816#M26661</guid>
      <dc:creator>yong_ly</dc:creator>
      <dc:date>2013-11-05T21:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129817#M26662</link>
      <description>&lt;P&gt;You can also check the adviis index in Manager&amp;gt;Indexes to see if it is getting data.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 21:37:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129817#M26662</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-05T21:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129818#M26663</link>
      <description>&lt;P&gt;also, you can verify that the timestamps are parsed correctly.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbinspect index=adviis
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Check that the &lt;CODE&gt;earliestTime&lt;/CODE&gt; and &lt;CODE&gt;latestTime&lt;/CODE&gt; timestamps match your data.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 21:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129818#M26663</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-11-05T21:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129819#M26664</link>
      <description>&lt;P&gt;For now, my inputs.conf on the forwarder only has the monitor one stanza.&lt;/P&gt;

&lt;P&gt;I've added your recommended stanzas to my props and transforms on the indexer, but so far, no luck.  Now I'm getting this message on the search head:&lt;/P&gt;

&lt;P&gt;Search peer SPLUNK402 has the following message: received event for unconfigured/disabled/deleted index='adviis' with source='source::F:\inetpub\logs\LogFiles\W3SVC1\iis_D20131105-001238183.log' host='host::Weeble' sourcetype='sourcetype::adviis' (1 missing total)&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 22:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129819#M26664</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2013-11-05T22:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129820#M26665</link>
      <description>&lt;P&gt;To append to that, the adviis index does exist because I can see yesteday's log (that I manually imported through the Manager&amp;gt;Data Inputs page) if I do a "search index=adviis sourcetype=adviis" for the last 24 hours.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 22:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129820#M26665</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2013-11-05T22:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129821#M26666</link>
      <description>&lt;P&gt;The timestamps look good on the file I manually imported.  Searching all time, and even adding a latest=+10d doesn't find any stray data outside the one manual import.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 23:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129821#M26666</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2013-11-05T23:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129822#M26667</link>
      <description>&lt;P&gt;This means that the index has been disabled. When you go through the Manager console and select indexes, does it say the index is disabled? If so, enable it.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 23:05:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129822#M26667</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-11-05T23:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129823#M26668</link>
      <description>&lt;P&gt;It is enabled.  I even deleted the index, re-created it, restarted the indexer, flushed the fishbucket on the forwarder and restarted that, but I'm still getting the same error.  If I generate traffic on the forwarder, I can see new entries pop up in the metrics.log on the forwarder, so it's trying to work.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 23:19:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129823#M26668</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2013-11-05T23:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129824#M26669</link>
      <description>&lt;P&gt;Just to clarify, SPLUNK402 is your indexer, correct?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 23:22:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129824#M26669</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-11-05T23:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129825#M26670</link>
      <description>&lt;P&gt;That is correct.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 23:28:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129825#M26670</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2013-11-05T23:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129826#M26671</link>
      <description>&lt;P&gt;Do you have time for a quick webex?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 23:32:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129826#M26671</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-11-05T23:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129827#M26672</link>
      <description>&lt;P&gt;Sure, that would be great.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 23:34:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129827#M26672</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2013-11-05T23:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129828#M26673</link>
      <description>&lt;P&gt;send me an email, you can get my contact info by clicking on my username.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 23:35:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129828#M26673</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-11-05T23:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem forwarding Advanced IIS Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129829#M26674</link>
      <description>&lt;P&gt;Anytime! Glad I could help.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2013 23:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-forwarding-Advanced-IIS-Logs/m-p/129829#M26674</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2013-11-07T23:40:36Z</dc:date>
    </item>
  </channel>
</rss>

