microsoft azure. troubleshooting and monitoring

18
1 CONFIDENTIAL Troubleshooting and Monitoring. JANUARY 27, 2016 Alex Feshchenko, SENIOR SOFTWARE ENGINEER

Upload: alexander-feschenko

Post on 16-Apr-2017

348 views

Category:

Software


2 download

TRANSCRIPT

1CONFIDENTIAL

Troubleshooting and Monitoring.

JANUARY 27, 2016

Alex Feshchenko,SENIOR SOFTWARE ENGINEER

2CONFIDENTIAL

AGENDA

Web App Troubleshooting1

Collecting logs2

ELK stack brief overview3

Demo4

3CONFIDENTIAL

WEB APP TROUBLESHOOTING

JANUARY 13, 2016

4CONFIDENTIAL

Remote Debugging

• Is not recommended• Avoid long stops• Bandwidth affected• 48 hours limit• Not only w3wp.exe

5CONFIDENTIAL

Diagnostic Logs

• Application tracing logsThe application creates these logs by calling methods of the System.Diagnostics.Trace class.• Web server logsThe web server creates a log entry for every HTTP request to the web app.• Detailed error message logsThe web server creates an HTML page with some additional information for failed HTTP requests (those that result in status code 400 or greater). • Failed request tracing logsThe web server creates an XML file with detailed tracing information for failed HTTP requests. The web server also provides an XSL file to format the XML in a browser.

6CONFIDENTIAL

DEMO

JANUARY 27, 2016

7CONFIDENTIAL

ELASTICSEARCH AS LOGS AGGREGATOR

JANUARY 27, 2016

8CONFIDENTIAL

What does ELK do?

• Collect all logs and event data• Democratize your data by putting it in the hands of

people who need it• Make it searchable in fast and meaningful way• Use powerful analytics to summarize data across

many dimensions

9CONFIDENTIAL

ELK components

Plumbing and glue for all your data

LOGSTASH | ELASTICSEARCH | KIBANA

10CONFIDENTIAL

ELK components

160+ connectors and transform tools

LOGSTASH | ELASTICSEARCH | KIBANA

11CONFIDENTIAL

ELK components

Near real-time search and analysis tool

LOGSTASH | ELASTICSEARCH | KIBANA

12CONFIDENTIAL

ELK components

Visualization and exploration

LOGSTASH | ELASTICSEARCH | KIBANA

13CONFIDENTIAL

ELK components

Horizontally scalable

LOGSTASH | ELASTICSEARCH | KIBANA

14CONFIDENTIAL

ELK components

Open source and open community

LOGSTASH | ELASTICSEARCH | KIBANA

15CONFIDENTIAL

ELK components

Developed by Elasticsearch, Inc

LOGSTASH | ELASTICSEARCH | KIBANA

16CONFIDENTIAL

ELK in the world

17CONFIDENTIAL

Resources

18CONFIDENTIAL

DEMO

JANUARY 27, 2016