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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...