All Apps and Add-ons

How to enable Advance logging in IIS for ITSI module in other location?

nikita_p
Contributor

We are trying to take IIS logs in ITSI but cannot enable advanced logging. Is there a option where we can store advance logging in different location and take data from that location. Is it possible to store data twice using configuration in IIS manager.
We are using splunk add-on for Microsoft IIS.
Referred to the link below, but cannot enable all mentioned logs because those logs are also used by other application.
http://docs.splunk.com/Documentation/ITSI/3.1.2/IModules/WebServerModuleconfigurations

jdhunter
Path Finder

I would read more about the Splunk Add on for Microsoft IIS.

https://docs.splunk.com/Documentation/AddOns/released/MSIIS/About

Verify where your IIS logs are writing to:

Standard logs default directory: %SystemDrive%\inetpub\logs\LogFiles

Advanced logs default directory: %SystemDrive%\inetpub\logs\AdvancedLogs

You should be able to configure your inputs.conf to accept both standard logs and advanced

Example inputs.conf:

[monitor://C:\inetpub\logs\AdvancedLogs]
disabled = false
sourcetype = ms:iis:auto

[monitor://C:\inetpub\logs\LogFiles]
disabled = false
sourcetype = ms:iis:auto

They also mention this article to enable Advanced Logging on your IIS server

https://docs.microsoft.com/en-us/iis/extensions/advanced-logging-module/advanced-logging-for-iis-cus...

0 Karma

nikita_p
Contributor

Hi jdhunter,
Thank you for your answers but have already checked this link and it didn't help.

0 Karma

jdhunter
Path Finder

Is your issue getting advanced IIS logs into Splunk? Or you need to send them to two locations?

0 Karma

nikita_p
Contributor

We want to store advanced logging enabled data to other location, so we can take data into Splunk from this location.

0 Karma

jdhunter
Path Finder
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...