using machine learning and analytics to understand · pdf fileusing machine learning and...

48
Using Machine Learning and Analytics to Understand How MQ Impacts Your Business

Upload: dangcong

Post on 12-Mar-2018

228 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Using Machine Learning and

Analytics to Understand How

MQ Impacts Your Business

Page 2: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Nastel Technologies – What We Do

BankingFinance

ClaimsProcessing

TransportLogistics

OrderHandling

PaymentsProcessing

B U S I N E S S A P P L I C AT I O N S

Tracking AnalyticsMonitoring

XOK !

©2017 NASTEL TECHNOLOGIES, INC.2

Page 3: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

The Nastel Difference: Making the Complex Simple

3 ©2017 NASTEL TECHNOLOGIES, INC.

Logs, Metrics &

Transactions

From Multiple

Sources

Event/Transaction Synthesis

with Alerts and Notifications

Intuitive, Actionable

Business Insights

Payload

Data

KPI's

Metrics

Properties

Chaotic Complexity

Low-value Data

Simplicity

High-value Data

Data Enrichment &

Business Milestones

2

1

3

Page 4: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Metrics and Events from Multiple Sources

4 ©2017 NASTEL TECHNOLOGIES, INC.

Application Infrastructure Metrics & Events

(Messaging Middleware, ESB, Java, …)

Transaction

Metrics & Events

Application

Metrics & Events

Page 5: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Nastel's AutoPilot®

Automatic Transaction

Tracking & Auditing

Complex Event Processing

(CEP: Situational Awareness)

Unified Application Analytics

and Log Analytics

End-User Monitoring,

Performance Analytics

Middleware Management

and Monitoring

Built on a Big-Data Platform

for Extreme Scalability

©2017 NASTEL TECHNOLOGIES, INC.5

Page 6: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

w w w . n a s t e l . c o mw w w . n a s t e l . c o m

AutoPilot® for IBM MQ

Overview:- Management

- Monitoring

- Message Tracking

- Log Analytics

Page 7: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Nastel's AutoPilot® for IBM MQ

7 ©2017 NASTEL TECHNOLOGIES, INC.

AutoPilot® for IBM MQ

XOK !

Message TrackingMonitoring

XOK !

▪ Unix

▪ Linux

▪ Windows

▪ IBM z/OS

▪ IBM iSeries

▪ IBM AIX

Management

Page 8: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

AutoPilot - Management of IBM MQ

8 ©2017 NASTEL TECHNOLOGIES, INC.

▪ Auto discovery of WMQ objects

▪ Automatic Configuration

Management

▪ Audit trail & Rollback of changes

to WMQ objects

▪ Agent and Agent-less

management

▪ Message Management & Search

▪ Secure, Self Service WMQ

Management

Page 9: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

AutoPilot - Monitoring of IBM MQ

9 ©2017 NASTEL TECHNOLOGIES, INC.

▪ Pre-defined & User-Defined Dashboards with intuitive KPI's

▪ Policy-based, Wizard-built monitoring

▪ No scripting

▪ Dynamic Thresholds & Automatic Baselining

▪ Alerts, Notifications & Automated Actions

▪ Real-time and historical analysis

Page 10: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

AutoPilot - Message Transaction Tracking of IBM MQ

10 ©2017 NASTEL TECHNOLOGIES, INC.

▪ Graphical views of MQ Message Flow transactions

▪ Categorize MQ message flows (e.g. by Business Unit, application type)

▪ Pinpoint message delivery problems, message latency and SLA breaches

▪ Criteria-based message search

▪ Message tracking information stored in NoSQL database

▪ Real-time and historical analysis

Page 11: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Log Analytics – MQ/IIB and any other logs

11 ©2017 NASTEL TECHNOLOGIES, INC.

▪ Centralized access to logs from queue managers and brokers

▪ Analyze trends

▪ Search for specific content or conditions

Page 12: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

w w w . n a s t e l . c o mw w w . n a s t e l . c o m

AutoPilot® for IBM MQ

IBM MQ Configuration

& Message Management

Page 13: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

IBM MQ Stakeholders

▪ User Acceptance

Testing

▪ Improve quality of

new releases of

applications

▪ Improve processes

▪ Reduce costs

▪ Prevent performance

problems

▪ Faster time to

repair (MTTR)

▪ Identify root

cause of MQ

issues

▪ DEV, TEST &

PROD

▪ Management of

messaging

backbone

Application

Developers

Enterprise

Architects

Middleware

Team

Application

Owners

Application

Support

13 ©2017 NASTEL TECHNOLOGIES, INC.

Page 14: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Targeted delegation of access rights

▪ Safe: protect MQ estate

▪ Secure: highly granular, role-based

security

▪ Simple: delegate selected tasks to

Dev/Ops teams

▪ Scalable: to a large number of users

Middleware

Expert

Application

Support

14 ©2017 NASTEL TECHNOLOGIES, INC.

Page 15: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Secure access … for viewing authorized objects

15 ©2017 NASTEL TECHNOLOGIES, INC.

Tree view of

authorized MQ

objects

Page 16: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Secure access … for viewing authorized objects

16 ©2017 NASTEL TECHNOLOGIES, INC.

▪ Secure access

▪ Authorized

MQ objects

only ▪ View queue depth

▪ View message details

Page 17: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

MQ Topology View

17 ©2017 NASTEL TECHNOLOGIES, INC.

Page 18: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Secure access … for authorized actions

18 ©2017 NASTEL TECHNOLOGIES, INC.

▪ Copy definition

of Local Queue

OKNOT OK

Page 19: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Audit Trail

19 ©2017 NASTEL TECHNOLOGIES, INC.

Unauthorized

action denied

Page 20: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Secure Access to Messages

20 ©2017 NASTEL TECHNOLOGIES, INC.

▪ Hex format ▪ XML format▪ Text format

Page 21: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Favorites and Searches

21 ©2017 NASTEL TECHNOLOGIES, INC.

Page 22: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

MQSC Export/Import and Console

22 ©2017 NASTEL TECHNOLOGIES, INC.

▪ Also available as

command line

for automation

Page 23: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

w w w . n a s t e l . c o mw w w . n a s t e l . c o m

Forensic Investigation

Unique features of AutoPilot Insight

Page 24: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Natural query language

▪ AutoPilot Insight English like query language lets you analyze transactions, logs,

performance and combines data query with visualization in a single statement

▪ Get number of events show as linechart

24 ©2017 NASTEL TECHNOLOGIES, INC.

Page 25: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Natural query language

▪ Ability to ask any question about application performance, logs, transaction and

metrics using JKQL English like query language.

25 ©2017 NASTEL TECHNOLOGIES, INC.

JKQL query language

provides a flexible way

to organize, query and

ask questions about any

data from any sourceReal time (CEP/EPL) expressions

that let App Support see what’s

happening in real-time

Page 26: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Subscribe function for streaming time series data

26 ©2017 NASTEL TECHNOLOGIES, INC.

▪ AutoPilot Insight lets you subscribe to APM data using JKQL “subscribe” queries.

▪ “Subscribe to number of events group by location show as summary”

▪ Developers can write streaming, query apps using our open source API

▪ https://github.com/Nastel/jKoolRestClients#running-jkool-queries-asynchronously

Page 27: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Flow tracking, Log Analytics and Monitoring

▪ AutoPilot Insight can track transactions, performance as well as message and

transaction payload, as well as logs.

▪ Example of how someone might search for a specific order from command line:

▪ JKCmd –search “failure” –file args.file

▪ JKCmd –query “get number of events where message contains ‘failure’” –

file args.file

27 ©2017 NASTEL TECHNOLOGIES, INC.

Page 28: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Real time continuous search on all data streams

▪ Use AutoPilot Insight “subscribe” capability to run real-time continuous searches

against all data streams.

28 ©2017 NASTEL TECHNOLOGIES, INC.

“Subscribe” - real

time search on all

data streams.

Page 29: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Machine Learning, Anomaly Detection & Root Cause Analysis

▪ Detecting anomalies - algorithm based on Robust Principal Component Analysis

▪ No learning rules required for training

▪ Viewlets provide drill-down capability for root-cause analysis

29 ©2017 NASTEL TECHNOLOGIES, INC.

Page 30: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Machine Learning, Anomaly Detection & Root Cause Analysis

▪ Drilldown to graph of nodes and edges representing topology at time of anomaly

▪ Topology graph automatically created for all relationships in time window

▪ Related nodes are automatically stitched together

▪ Lines between nodes (called “edges”), represent relationships between nodes

30 ©2017 NASTEL TECHNOLOGIES, INC.

Page 31: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Machine Learning, Anomaly Detection & Root Cause Analysis

▪ Drilldown to events - looking at all relationships from the graph, we detect which

edges are significantly different than their statistical average for the time window

(configurable)

▪ The worst “edge(s)” are the potential root cause.

31 ©2017 NASTEL TECHNOLOGIES, INC.

Page 32: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

w w w . n a s t e l . c o mw w w . n a s t e l . c o m

IT Operations Use Case

Susan is the senior IT operations manager,

responsible for monitoring applications and

alerting the IT organization when anomalies

are detected in terms of response times and

service levels.

Page 33: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Missed SLA Events

Use automated transaction baselining to set SLA's

33 ©2017 NASTEL TECHNOLOGIES, INC.

Automated

baselining

(statistical

analytics)

Page 34: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Monitor a planned update to application architecture

34 ©2017 NASTEL TECHNOLOGIES, INC.

Page 35: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Monitor a planned update to application architecture

35 ©2017 NASTEL TECHNOLOGIES, INC.

Page 36: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Monitor a planned update to application architecture

36 ©2017 NASTEL TECHNOLOGIES, INC.

Page 37: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Notification of an impending problem

37 ©2017 NASTEL TECHNOLOGIES, INC.

JVM Heap Size

variance detected by

statistical analytics;

proactive notification

Page 38: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Alert Wizard Creates Notifications about MQ Problem

38 ©2017 NASTEL TECHNOLOGIES, INC.

Page 39: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Performance problem due to "CPU stealing"

39 ©2017 NASTEL TECHNOLOGIES, INC.

Selecting runtime

snapshots (CPU

metrics)

Page 40: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Performance problem due to "CPU stealing"

40 ©2017 NASTEL TECHNOLOGIES, INC.

View all

runtime events

during selected

time interval

Page 41: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Performance problem due to "CPU stealing"

41 ©2017 NASTEL TECHNOLOGIES, INC.

High CPU

consumption

Click to view event

details occurring

during same time

slice for root cause

Page 42: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

w w w . n a s t e l . c o mw w w . n a s t e l . c o m

Business Analysis Use Case

Emma, vice president of the digital business

marketing organization, is focused on

metrics that show how the business is

performing . She expects IT to notify her of

problems before they begin to impact

customer behavior.

Page 43: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Determine where mobile users abandon online purchases

43 ©2017 NASTEL TECHNOLOGIES, INC.

Breakdown of

mobile users

abandoning

purchases –

based on funnel

within the app.

Breakdown of

mobile users

abandoning

purchases – based

on geo location.

Breakdown of

mobile users

abandoning

purchases – based

on geo carrier.

Page 44: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Abandoned purchases (e.g. users, devices, geographies)

44 ©2017 NASTEL TECHNOLOGIES, INC.

Breakdown of mobile

users abandoning

purchases by device

type/name.

Breakdown of mobile

users abandoning

purchases – based on

geo location.

Geo maps and

transaction topology of

where and how

abandonment happens.

Page 45: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Revenue potentially lost due to performance problems

45 ©2017 NASTEL TECHNOLOGIES, INC.

Break down

of revenue

loss by time

and location

Dill down into all

events responsible

for revenue loss

Revenue loss

and reasons

why

Page 46: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

How to improve revenue via machine learning

▪ Bayesian Classification used to automatically determine probability of events

▪ Bayes algorithm applies learned information to newly streamed data

▪ Groups data into sets and determines probability

46 ©2017 NASTEL TECHNOLOGIES, INC.

This query retrieves

activities from the set

“Risk Losing Customer”,

which is populated by the

Bayes function and

grouped by phone carrier

Page 47: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

How to improve revenue - Bayes classification and Prediction

▪ Sentiment analysis is supported by analyzing messages

▪ Trained via rules to know the difference between customers with negative and

positive sentiment, the Bayes algorithm is used to “profile” negative and positive

outcomes (cancelled accounts, placed orders)

47 ©2017 NASTEL TECHNOLOGIES, INC.

Page 48: Using Machine Learning and Analytics to Understand  · PDF fileUsing Machine Learning and Analytics to Understand How ... IBM AIX Management ... only View queue depth

Open source instrumentation

▪ Streaming Ecosystem -- https://github.com/Nastel/tnt4j-streams

▪ HDFS, MQTT, JMS, Node.js, Angular.js, Collectd, Nagios, WebServices, JSON, etc

▪ RESTFul and WebSocket APIs -- https://github.com/Nastel/jkool-client-java-api

▪ Python Streaming API -- https://github.com/Nastel/tnt4py

▪ Real User Monitoring -- https://github.com/Nastel/jkool-rum-plugin

▪ Syslog -- https://github.com/Nastel/tnt4j-syslogd

▪ Log4J -- https://github.com/Nastel/tnt4j-log4j12

▪ Java Byte Code -- https://github.com/Nastel/tnt4j-streams-zorka

48 ©2017 NASTEL TECHNOLOGIES, INC.