Giter Site home page Giter Site logo

gwalkey / ssas_dw_logins Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 9.51 MB

SSAS Tabular Data warehouse for SQL Server Logins

License: GNU General Public License v3.0

TSQL 87.86% PowerShell 12.14%
powershell ssas-tabular extended-events security sql-server

ssas_dw_logins's Introduction

A Data Warehouse for tracking SQL Server Logins

SSAS DW Logins is a set of Microsoft technologies combined into a SQL Server Security Auditing Tool

Components:

  • Extended Event Session to track all SQL Server Login events saved to .XEL Files
  • ETL Process to move, load, clean and aggregate the XEL trace files from remote SQL servers into a central SQL database
  • A Transform step to load a DW Star schema database with the tracked Logins
  • An SSAS Tabular Model for slide-and-dice analysis
  • A sample Excel Pivot Table to view the historical Logins

Benefits

This solution allows you to answer questions like

  • Who logged in to my Server?
  • From what Hosts?
  • At what Time?
  • What Application did they use?
  • What Databases did they access?
  • Show me all hosts that accessed a certain database
  • Show me all access for any one person
  • Why is that app logging in 20,000 times per hour?
  • Connection string troubleshooting

ETL Performance

  • Using sys.fn_xe_file_target_read_file = 11 Hours
  • Using XEvent.Linq.dll and XECore.dll assemblies - 11 Minutes

Using the XEvent.Linq.dll and XECore.dll assemblies, we can load over 1M events per minute alt text

Inspiration by

Sample Report

alt text

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.