Created
November 8, 2016 14:01
-
-
Save amogram/0a3356385ac7cbd6b1d1709f1416ecb5 to your computer and use it in GitHub Desktop.
IIS Log Table Starting Point
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [ServerFileLogs] | |
GO | |
/****** Object: Table [dbo].[TempLogs] Script Date: 08/11/2016 14:01:07 ******/ | |
DROP TABLE [dbo].[TempLogs] | |
GO | |
/****** Object: Table [dbo].[TempLogs] Script Date: 08/11/2016 14:01:07 ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
SET ANSI_PADDING ON | |
GO | |
CREATE TABLE [dbo].[TempLogs]( | |
[LogFilename] [varchar](255) NULL, | |
[LogRow] [int] NULL, | |
[date] [datetime] NULL, | |
[time] [datetime] NULL, | |
[cIp] [varchar](255) NULL, | |
[csUsername] [varchar](255) NULL, | |
[sSitename] [varchar](255) NULL, | |
[sComputername] [varchar](255) NULL, | |
[sIp] [varchar](255) NULL, | |
[sPort] [int] NULL, | |
[csMethod] [varchar](255) NULL, | |
[csUriStem] [varchar](255) NULL, | |
[csUriQuery] [varchar](255) NULL, | |
[scStatus] [int] NULL, | |
[scSubstatus] [int] NULL, | |
[scWin32Status] [int] NULL, | |
[scBytes] [int] NULL, | |
[csBytes] [int] NULL, | |
[timeTaken] [int] NULL, | |
[csVersion] [varchar](255) NULL, | |
[csHost] [varchar](255) NULL, | |
[csUserAgent] [varchar](255) NULL, | |
[csCookie] [varchar](255) NULL, | |
[csReferer] [varchar](255) NULL, | |
[sEvent] [varchar](255) NULL, | |
[sProcessType] [varchar](255) NULL, | |
[sUserTime] [real] NULL, | |
[sKernelTime] [real] NULL, | |
[sPageFaults] [int] NULL, | |
[sTotalProcs] [int] NULL, | |
[sActiveProcs] [int] NULL, | |
[sStoppedProcs] [int] NULL | |
) ON [PRIMARY] | |
GO | |
SET ANSI_PADDING OFF | |
GO | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment