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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...