Monitoring IIS logfiles
IIS Log Collection with Universal Forwarder
A Splunk Universal Forwarder can be used to collect IIS log files from servers.
Enable TCP Receiving Port
-
Go to:
Settings → Forwarding and Receiving → Receive Data -
Add a TCP receiving port
- Default:
9997(can be customized)
- Default:

Firewall Configuration
-
Open required ports in:
- GCP (SaaS)
- On-premise servers
-
Required ports:
9997(or your custom port)8089(can be reverse proxied)
Download Universal Forwarder
Download the version matching your Splunk setup:
https://www.splunk.com/en_us/download/universal-forwarder.html
Install Universal Forwarder
Run the following command (replace placeholders accordingly):
msiexec.exe /i splunkforwarder-9.0.2-17e00c557dc1-x64-release.msi AGREETOLICENSE=yes SPLUNKUSERNAME=splunkadmin SPLUNKPASSWORD={GENERATE_PASSWORD} DEPLOYMENT_SERVER=https://customername.uxmapp.com:8089 RECEIVING_INDEXER="customername.uxmapp.com:9997" /quiet
- Replace
{GENERATE_PASSWORD}with your password - Replace
customername.uxmapp.comwith your server DNS