15
SMART LOG ANALYSIS A General Framework and SMB Prototype Windows Serviceability Tim Burke, Kishore Chintalapati (manager) Mike Tiberio (coach), Apurva Sharma, Samarth Shetty Badilaguthu

Smart Log Analysis

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Smart Log Analysis

SMART LOG ANALYSIS

A General Framework and SMB Prototype

Windows ServiceabilityTim Burke, Kishore Chintalapati (manager)

Mike Tiberio (coach), Apurva Sharma, Samarth Shetty Badilaguthu

Page 2: Smart Log Analysis

TALK OVERVIEW

Problem Space Current Approaches Design Objectives My Project: Smart Log Analysis and SMB Prototype Benefits Future Plans Demo

Page 3: Smart Log Analysis

PROBLEM SPACE

Multiple Data Sources Multiple Tools (Netmon, Perfmon, Notepad,

…) Difficulty in correlating different source

Information Overload Manual Analysis Knowledge Loss

Page 4: Smart Log Analysis

CURRENT APPROACHES

Open Notepad Open NetMon Repeat The Nuclear Option

Perl Grep

Credit: Eric Roode

\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b

http://www.regular-expressions.info/examples.html

Page 5: Smart Log Analysis

THE RADIANT FUTURE

Network Captures ETW Traces Custom Logs

Smart Analysis Framework

Viewer Automatic Analysis

Page 6: Smart Log Analysis

DESIGN OBJECTIVES

A unified way of viewing, searching, and analyzing data

Easily track and highlight relationships among data.

Group data into high-level operations Extensibility and Flexibility

Page 7: Smart Log Analysis

DESIGN CONSIDERATIONS

Data is data, independent of the source Data consists of sets of named values Modular Easy rule creation Performance and Scalability Developer focused

Page 8: Smart Log Analysis

MY PROJECT

Framework Viewer Prototype Text Rule Editor

From Logs From Source

Extensible Component Agnostic Scalable Embeddable

Page 9: Smart Log Analysis

THE FRAMEWORK

Storage Plugins

Provider RulesFile Format Plugins

Log Viewer

Query Engine

SQL Server

Parsed Data

Log Parser

ETW Parser

Windows Events

Etc.

RDR

SRV

Log FIles

Config Files

Custom Storage

Parsed Data

Storage Manager

Format Engine

CLR Adapter

Formatting Rules

Saved Queries

Page 10: Smart Log Analysis

LOG VIEWER

Boolean expression filters Filter based on any tag or value Similar to Netmon filters

Procedural queries Data correlation Complex scenarios

Custom formatting

Page 11: Smart Log Analysis

TEXT LOG RULE EDITOR

Easy creation of parsing rules From text logs From source code

Preview rule effects

Page 12: Smart Log Analysis

BENEFITS

Allows quicker, easier debugging Automates common analysis tasks Merges data sources to allow cross-

source analysis.

Page 13: Smart Log Analysis

FUTURE PLANS

Complete the prototypes Implement more log parsers (Netmon,

…) Have component experts create rule

sets Implement automatic analyses on top

of the framework Integrate with other tools for capturing

data like MSDT

Page 14: Smart Log Analysis

DEMO

Page 15: Smart Log Analysis

QUESTIONS?