<?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 Help configuring Universal Forwarder with IIS logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140969#M28865</link>
    <description>&lt;P&gt;I tried going through the documentation, but haven't been able to get much working with the exception of syslog messages from my firewall.&lt;/P&gt;

&lt;P&gt;On the web server where I installed the Universal Forwarder, I created 2 files in etc\system\local&lt;/P&gt;

&lt;P&gt;I used bits and pieces of information that I found in various answers here.&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\Logs\inetpub\*\*.log]
disabled = false
followtail = 0
sourcetype=iis
ignoreOlderThan = 14d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout-server://myserverip:9000]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On my server I added a TCP data input on port 9000&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2013 17:36:19 GMT</pubDate>
    <dc:creator>adrianp</dc:creator>
    <dc:date>2013-11-13T17:36:19Z</dc:date>
    <item>
      <title>Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140969#M28865</link>
      <description>&lt;P&gt;I tried going through the documentation, but haven't been able to get much working with the exception of syslog messages from my firewall.&lt;/P&gt;

&lt;P&gt;On the web server where I installed the Universal Forwarder, I created 2 files in etc\system\local&lt;/P&gt;

&lt;P&gt;I used bits and pieces of information that I found in various answers here.&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\Logs\inetpub\*\*.log]
disabled = false
followtail = 0
sourcetype=iis
ignoreOlderThan = 14d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout-server://myserverip:9000]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On my server I added a TCP data input on port 9000&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 17:36:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140969#M28865</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T17:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140970#M28866</link>
      <description>&lt;P&gt;Did you restart the forwarder?&lt;BR /&gt;
Are there any errors in the splunkd.log found in splunk\var\log\splunk\&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 17:50:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140970#M28866</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-13T17:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140971#M28867</link>
      <description>&lt;P&gt;Yes, I restarted it.&lt;/P&gt;

&lt;P&gt;I see the following:&lt;BR /&gt;
LightWeightForwarder/UniversalForwarder not configured. Please configure outputs.conf.&lt;/P&gt;

&lt;P&gt;So I guess my outputs.conf is wrong? Again I put that together from another post/article.&lt;/P&gt;

&lt;P&gt;If that is incorrect, what should it look like?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 17:54:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140971#M28867</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T17:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140972#M28868</link>
      <description>&lt;P&gt;The outputs.conf should have been created when you installed the forwarder, and it will be located in splunk\etc\system\local\outputs.conf  It should contain a tcpout:default and/or a tcpout-server://ip:port.&lt;/P&gt;

&lt;P&gt;Try adding a _TCP_ROUTING attribute to your inputs.conf monitor stanza, the value should be your indexing server name:&lt;/P&gt;

&lt;P&gt;Inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  [monitor://D:\Logs\inetpub\*\*.log]
    _TCP_ROUTING = indexingservername
    disabled = false
    followtail = 0
    sourcetype=iis
    ignoreOlderThan = 14d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup=indexingservername

[tcpout:indexingservername]
server=ipaddress:port of indexing server
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:09:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140972#M28868</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-13T18:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140973#M28869</link>
      <description>&lt;P&gt;I had to create the input.conf and output.conf files manually. They were not there. I do not understand what you mean by indexing server name.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:12:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140973#M28869</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T18:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140974#M28870</link>
      <description>&lt;P&gt;You can use the name of the indexer, or it's IP address.&lt;BR /&gt;
The indexing server is the server with the main Splunk instance - the forwarder sends logs to the indexing server.&lt;BR /&gt;
You can also use the IP address of the indexing server.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140974#M28870</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-13T18:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140975#M28871</link>
      <description>&lt;P&gt;Now you are confusing me even more than I already am hehe. I thought configuration settings for where the data goes was done in outputs.conf, yet your recommendation was to add a setting in inputs.conf for the server?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:22:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140975#M28871</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T18:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140976#M28872</link>
      <description>&lt;P&gt;It happens, I updated the answer to make it more clear.&lt;BR /&gt;
Both inputs and outputs need to be on the forwarder.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:25:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140976#M28872</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-13T18:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140977#M28873</link>
      <description>&lt;P&gt;I reinstalled it and now it created the inputs.conf and output.confs. The inputs.conf has the following&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
host = MYSERVER&lt;/P&gt;

&lt;P&gt;[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;I added the log monitor lines from before.&lt;/P&gt;

&lt;P&gt;The output.conf now looks like this:&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup = default-autolb-group&lt;/P&gt;

&lt;P&gt;[tcpout:default-autolb-group]&lt;BR /&gt;
server = myserverip:9000&lt;/P&gt;

&lt;P&gt;[tcpout-server://myserverip:9000]&lt;/P&gt;

&lt;P&gt;I don't really understand the configuration as it looks redundant.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140977#M28873</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T18:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140978#M28874</link>
      <description>&lt;P&gt;Anyways, after restarting the forwarder, it seems to have sent 4 messages, but it looks like garbage.&lt;/P&gt;

&lt;P&gt;--splunk-cooked-mode-v3--\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00&lt;/P&gt;

&lt;P&gt;and it's definitely not the data from my IIS logs.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140978#M28874</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T18:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140979#M28875</link>
      <description>&lt;P&gt;Also, I see the following WARN in the logs:&lt;BR /&gt;
TcpOutputProc - Cooked connection to ip=myserverip:9000 timed out&lt;/P&gt;

&lt;P&gt;In the Splunk server, I have an TCP input configured on port 9000 set to Source type = iis&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:34:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140979#M28875</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T18:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140980#M28876</link>
      <description>&lt;P&gt;In your splunk\etc\system\local\inputs.conf what is the [splunktcp:port] port number?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:55:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140980#M28876</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-13T18:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140981#M28877</link>
      <description>&lt;P&gt;There is no line  [splunktcp:port]  in my inputs.conf&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 19:37:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140981#M28877</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T19:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140982#M28878</link>
      <description>&lt;P&gt;What is the default tcp port for inputs on the indexer?&lt;BR /&gt;
You should not have to create a special input port for the iis logs.&lt;BR /&gt;
Also, iis logs are typically not configured with the default iis sourcetype because it does not handle headers well.  You will probably want to create a custom sourcetype and configuration in your props.conf and transforms.conf.  There are many examples in this forum, but if you want specific help then post the header line that shows the fields.&lt;BR /&gt;
Lastly, universal forwarders should not be sending cooked data, are you sure you installed a universal forwarder?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 20:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140982#M28878</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-13T20:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140983#M28879</link>
      <description>&lt;P&gt;Sigh, apparently I missed the part in the documentation where it went over the configuration steps on the receiver. As soon as I did that I started receiving the events. I followed your recommendation and removed the TCP input on port 9000. I have the forwarder and receiver configured to use the default port 9997. Thank you so much! Next I get to work with IIS advanced logging hehe, but this is a good start!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 20:28:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140983#M28879</guid>
      <dc:creator>adrianp</dc:creator>
      <dc:date>2013-11-13T20:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140984#M28880</link>
      <description>&lt;P&gt;Roger that.  First step is to get the header line from the top of the iis log file.  You'll need that to tell splunk what the field names are and what to use as a delimiter.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 20:32:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140984#M28880</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-13T20:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help configuring Universal Forwarder with IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140985#M28881</link>
      <description>&lt;P&gt;Check your monitor path.  I believe it should be D:\inetpub\Logs......&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 20:55:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-configuring-Universal-Forwarder-with-IIS-logs/m-p/140985#M28881</guid>
      <dc:creator>mccurity</dc:creator>
      <dc:date>2019-09-10T20:55:36Z</dc:date>
    </item>
  </channel>
</rss>

