ELK 7.X Use kiana's built-in analysis module to display icon problem records

Built a set of elk by myself 7.x Version environment found that using filebeat to collect nginx or apapche could not customize the directory log directory. If you customize the log directory, it would not be segmented. If you use the default log location, it would be segmented The solution is hereby recorded Default load path [root@kangcw e ...

Posted by phithe on Mon, 18 May 2020 09:03:04 -0700

Go's 50 holes: pitfalls, tips and common mistakes for new Golang developers [1]

Go is a simple and interesting language, but like other languages, it has some skills... Most of these techniques are not due to go's flaws. If you used to use other languages, some of these mistakes are natural pitfalls. Others are caused by false assumptions and lack of detail. If you take the time to learn the language, read official notes, ...

Posted by immanuelx2 on Mon, 18 May 2020 08:06:01 -0700

Using the TypeScript complier API

Using the TypeScript complier API Original Address Disclaimer Keep in mind that this is still an incomplete API - we set its release version to 0.5 and things will change over time.After all, there are some imperfections in the first iteration.I hope the community will give more feedback to improve the API.To allow users to convert betw ...

Posted by tzicha on Sun, 17 May 2020 17:47:43 -0700

Building mock data environment with vue+koa2

I wrote an article a while ago Implementation of mock data mode in front-end vue project In this paper, we mainly use mock data in vue project. The data and project are coupled together, which is not elegant. As a front-end with pursuit, how can we tolerate this method? In this article, we record the method of using koa2 to build the server and ...

Posted by cschotch on Sun, 17 May 2020 17:26:47 -0700

Using Easy UI to generate asynchronous tree and add tabs dynamically

Generate asynchronous tree 1. Generate an empty tree, which is usually placed in the west module using easyui layout<ul id="menuTree" class="easyui-tree"> 2. To obtain node information from the server, the json data returned by the backend must contain the following attributes: pid (parent node id), id, text, state, url. be careful!!! ...

Posted by hagman on Sun, 17 May 2020 09:16:17 -0700

search (14) - elastic4s - statistical range: global, filter, post filter bucket

Aggregation generally works within the scope of query. The aggregation request without query is actually counted within the query range of match [all {}: GET /cartxns/_search { "aggs": { "all_colors": { "terms": {"field" : "color.keyword"} } } } } GET /cartxns/_search { "query": { "match_all": {} }, "aggs": { ...

Posted by something on Sat, 16 May 2020 08:26:40 -0700

How to realize the user login function of CRM system? Java advanced project practice must learn

Background code implementation of user login function: User mapper interface query method definition /** * * @param userName * @param userPwd * @param roleName * Query user records * @return */ User queryUser(@Param("userName")String userName); <!-- Query users --> <select id="queryUser" resultMap="BaseResultMap"> ...

Posted by Jamez on Sat, 16 May 2020 07:26:10 -0700

Load wfs service of openlayer

wfs Service is the most flexible and powerful Web gis service. Through the request to gis Server, return vector data, generally in two formats (KML and geojson), of course, there are other formats. Then through the built-in parsing function of openlayer, the data is parsed. However, the data returned by wfs does not hav ...

Posted by russellbcv on Fri, 15 May 2020 07:59:40 -0700

Spring Cloud cognitive learning: the use of fuse Hystrix

catalog Hystrix Service fuse and service degradation Simple use example: Deploy to service provider Deployed to service consumers Integrate feign 1. Modify Feign code 2. Modify consumers 3. Test: Hystrix Dashboard 1. Configure and start the Hystrix Dashboard 2. Modify service provider 3. Test: Add: 💡 The previous article introdu ...

Posted by amma on Fri, 15 May 2020 00:21:43 -0700

Automatic operation and maintenance - record the work development of automatically adding customer leader

After the company started to use nails automatically, the related information software of the enterprise began to use the application program on nails. Related to the sales company is the CRM system. In CRM system, the customer is private. If you want more than one person to be responsible at the same time, you need to add the customer leader. ...

Posted by sn202 on Thu, 14 May 2020 01:43:02 -0700