Logstash: API analysis using ELK stack
Extracting data through the API is not one of the most common use cases for ELK Stack users, but this situation is very useful for some cases. For example, developers who use rest APIs to wrap their database services might be interested in analyzing this data for business intelligence purposes. In to ...
Added by etrooper on Mon, 17 Feb 2020 12:21:37 +0200
Use OCSP protocol to send request to verify certificate status, OCSP verifies Apple P12 certificate status (valid | revoked)
In view of the company's need for Java server to verify the certificate, however, there are too few cases in Java implementation, searching hard for 2 days, Baidu, Google, OCSP protocol documents, finally achieved, can use this Demo to verify any OCSP protocol certificate!!!
Find a lot, and finally ...
Added by pietbez on Sat, 18 Jan 2020 20:22:56 +0200
logstash installation and simple test
background
The business purpose is to analyze the daily logs generated by nginx and apache, monitor the url, ip, rest interface and other information, and send the data to the elastic search service.
Contrast flume
No repeated consumption, no data loss
At present, flume supports hdfs better (personal understanding)
Off line installation
Java ...
Added by TheMD on Sun, 05 Jan 2020 06:29:24 +0200
Splicing of Chinese path and English path in python
General statement:
This paper introduces several common ways of splicing Chinese and English paths, and several pits. If you don't have time to see the pit, just jump to the end
Common errors:
1. Splice by "{} {}" {} ". format()
path1 = "D:/Chinese/"
path2 = "test/"
def test_road(path1,path2):
path = "{}{ ...
Added by aspguy on Tue, 31 Dec 2019 22:01:52 +0200
Using GPU hardware to speed up FFmpeg video transcoding and pit draining
Author: dongdong
Email: ldyldy828@126.com
This article includes:
Installing FFmpeg on Linux
Video format recognition and transcoding via command line
Video transcoding acceleration using GPU on Linux with Nvidia graphics card
FFmpeg Compile Installation
On the FFmpeg website, https://ffmpeg.org/download.html can be downloaded to the ubunto/d ...
Added by volatileboy on Thu, 19 Dec 2019 22:50:25 +0200
Flutter hybrid development: a detailed guide to communication between Android and flutter
This article starts with WeChat public's "Android development tour". Welcome to pay more attention to get more dry goods.
Communication scenario
When we do mixed development of Flutter, we usually need to communicate between Flutter and Native For example, Dart calls Native's album to select pictures, and Native actively transmits pow ...
Added by intech on Fri, 15 Nov 2019 10:26:28 +0200
Rapid deployment of elk and docking of SpringBoot using docker
Rapid deployment of elk using docker
1. Introduction of Software & Tools
ELK is the abbreviation of three open source software, namely, Elastic search, Logstash and Kibana. They are all open source software. A new FileBeat is added, which is a lightweight log collection and processing tool (Agent). Filebeat takes up less resources and is su ...
Added by everknown on Fri, 11 Oct 2019 13:09:00 +0300
Record a pit trampled across the Spring Cloud gateway
First, look at the cross-domain configuration of individual projects:
Global configuration is used here, as well as annotations.
package com.syj.mp.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org ...
Added by allexx_d on Mon, 07 Oct 2019 04:24:42 +0300
spring Common Mode------------- Adapter Mode
Original Link: https://www.jianshu.com/p/43bfb4516dd8
1. Introduction to adapter mode
Adapter mode: Converts a class's trans-interface to another interface that the client wants. The adapter mode enables which classes that were previous ...
Added by cdhogan on Sun, 15 Sep 2019 05:05:15 +0300
8. Response to request or response data processing
In the previous section, we analyzed the process of calling an interface. When the interface returns data, Dubbo needs to tell the client which interface it is calling. What happens when Dubbo responds?There is the following code in the com.alibaba.d ...
Added by FMB on Fri, 13 Sep 2019 06:50:35 +0300