All Apps and Add-ons

Using the Splunk Add-on for Microsoft IIs, why am I getting sourcetype=iis in searches despite setting sourcetype=ms:iis:auto on the universal forwarder?

damode
Motivator

As the title says, I have deployed the Splunk Add-on for Microsoft IIS on the Universal Forwarder and have installed the add-ons on the Indexer and Search Head according to the docs.

However, despite all that, I am getting sourcetype=iis in searches. It looks like Splunk is applying the sourcetype=iis from its props.conf in defaults directory.

Can someone please advise how I can fix this ?

0 Karma

jgbricker
Contributor

Check a few things out such as permission to the add on main directory and the subfiles and folders allowing splunkd to at least have privilege to read them. Ensure Splunkd has been restarted since the deployment. You can also use btool to check for conflicts where the file is ingested such as something in a higher precedence like system/local or another local folder. Also, if you just made changes the sourcetyping would apply to net new events.

$SPLUNK_HOME/bin/splunk cmd btool list

0 Karma

damode
Motivator

I have checked the following,

  • permissions on the add-on and input file and verified its correct.
  • did reload deploy-server

- used btool and got the following result on the Indexer,

 c:\>splunk btool props list --debug | findstr iis
C:\Program Files\Splunk\etc\system\default\props.conf                         [iis]
C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-iis\default\props.conf   [ms:iis:auto]
0 Karma

jgbricker
Contributor

Good start can do the same checks on the UF too?

0 Karma

cboillot
Contributor

Yes, the btool command will work on the UFs

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...