Resource Type: dsc_xiislogging

Defined in:
lib/puppet/type/dsc_xiislogging.rb
Providers:
powershell

Overview

The DSC xIisLogging resource type. Automatically generated from ‘xWebAdministration/DSCResources/MSFT_xIisLogging/MSFT_xIisLogging.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present

Parameters

  • dsc_logflags

    LogFlags - The W3C logging fields Valid values are Date, Time, ClientIP, UserName, SiteName, ComputerName, ServerIP, Method, UriStem, UriQuery, HttpStatus, Win32Status, BytesSent, BytesRecv, TimeTaken, ServerPort, UserAgent, Cookie, Referer, ProtocolVersion, Host, HttpSubStatus.

  • dsc_logformat

    LogFormat - Format of the Logfiles. Only W3C supports LogFlags Valid values are IIS, W3C, NCSA.

  • dsc_loglocaltimerollover

    LoglocalTimeRollover - Use the localtime for file naming and rollover

    Supported values:
    • true
    • false
  • dsc_logpath

    LogPath - The directory to be used for logfiles

  • dsc_logperiod

    LogPeriod - How often the log file should rollover Valid values are Hourly, Daily, Weekly, Monthly, MaxSize.

  • dsc_logtruncatesize

    LogTruncateSize - How large the file should be before it is truncated

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • name (namevar)
  • provider

    The specific backend to use for this ‘dsc_xiislogging` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.