. NET based on Eleasticsearch build log system Practical Walkthrough (public version)

Source: Internet
Author: User

First, the requirements of the background introduction

1.1. Requirements Description

It is known that the logging of client applications (such as WinForm desktop applications, WPF, mobile app, console applications, Windows services, and so on) in the C/S architecture mode is stored in the local client, which can lead to sometimes unexpected problems with the client. In order to quickly locate the location of the corresponding service side is extremely cumbersome and inconvenient, you need to find the client at that time, the abnormal problem of log snapshot records. So in order to solve the real-time log monitoring problem, Elk provides a set of solutions to emerge. However, the real situation is often worse than the reality of your imagination, and it is likely that we will encounter some of the following issues in our project team:

1), our company are Windows Server, no special Linux OPS personnel!

2),. NET project technology members are currently familiar with Windows systems and are not familiar with Linux systems.

3), considering the time cost can not be developed in a short time a mature real-time log monitoring system.

So as. NET technology of how we quickly build small and medium-sized enterprise log real-time monitoring system, solve our log real-time monitoring pain point problem!

A great leader said: Do it yourself, clothed! So the new age has given us the young man's mission: roll up the sleeves and refuel!

1.2, a sentence summed up today we have to solve the problem is what?

As. NET technology of how we quickly build a small and medium-sized enterprise log real-time monitoring system on the Windows platform!

PS: Logs mainly include system logs, application logs, and security logs. The "log" described in this course, if not specifically stated, is the application log by default!

Needless to say, directly on dry goods, we do not produce dry goods, we are just dry goods porter.

Ii. meaning and interpretation of concept names

2.1, Elk Introduction

2.2, Elk principle

2.3, why use ELK?

Three, the actual combat project on-line walkthrough and interpretation

3.1. Install Elasticsearch and Kibana on Windows

3.2. Install the Elasticsearch-head plugin on Windows.

3.3. Build Elasticsearch cluster on Windows

3.4. How to push the application log through log4net to Eleasticsearch

3.5. How to push the application log through Nlog to Eleasticsearch

3.5. How to push the application log through Nest SKD to Eleasticsearch

3.6. Talk about a distributed architecture based on the Eleasticsearch log system.

1), two-layer log platform Architecture design

2), three layer log platform architecture design

3), WEBAPI Service Application How to access real-time log monitoring platform system.

Iv. Summary

Comparison of traditional & new log architecture features

3. Concluding remarks

Five, the source online interpretation and demonstration

. NET based on Eleasticsearch build log system Practical Walkthrough (public version)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.