Elasticsearch add, delete, modify and query (2)
ES Restful API GET, POST, PUT, DELETE, HEAD meaning:
1) GET: gets the current state of the request object.
2) POST: changes the current state of the object.
3) PUT: create an object.
4) DELETE: destroy the object.
5) HEAD: request to get the basic information of the object.
The new document in ES (under Index/type) i ...
Posted by Hell Toupee on Fri, 20 Mar 2020 09:05:37 -0700
The installation of ES cluster and the use of plug-ins
ES cluster installation
1)ELK is a log analysis platform, not a software, but a complete set of solutions. It is the acronym of three software products. ELK represents:
Elasticsearch: responsible for log retrieval and storage
Logstash: responsible for the collection, analysis and processing of logs
Ki ...
Posted by pradeepmamgain on Sun, 15 Mar 2020 02:32:31 -0700
Details of nginx reverse proxy, load balancing, and IP hash implementation
1. Implementation of nginx reverse proxy
Three virtual machines are required:
Virtual machine ip function
server1
172.25.1.1 reverse proxy server (build nginx)
server2
172.25.1.2 backend server
server3
172.25.1.3 back end server
(1) Making soft links for nginx
ln -s /usr/local/nginx/sbin/ng ...
Posted by Drezard on Thu, 05 Mar 2020 23:59:04 -0800
Distributed ELK platform
What is ELK?
ELK is a complete solution, which is the acronym of three software products
ELK represents
Elasticsearch: responsible for log retrieval and storage
Logstash: responsible for the collection, analysis and processing of logs
Kibana: responsible for the visualization of logs
These three k ...
Posted by arjuna on Sat, 22 Feb 2020 03:03:17 -0800
Using Python script to clean up es data
Demand background
The business system stores all kinds of reports and statistical data in ES. Due to historical reasons, the system makes statistics in full amount every day. As time goes on, the data storage space of ES is under great pressure. At the same time, because the use of ES index is not well planned, some indexes even exceed the max ...
Posted by beefy23 on Fri, 21 Feb 2020 03:37:14 -0800
NAT mode construction of LVS
1. NAT mode schematic diagram
NAT (Network Address Translation) Network Address Translation mode
When the user requests to arrive at the Director Server, the requested data message will first arrive at the pre routing chain in the kernel space. At this time, the source IP of the message is CIP and the ...
Posted by l4nc3r on Thu, 20 Feb 2020 22:20:44 -0800
Zabbix distributed monitoring - Zabbix monitors Httpd and Nginx
Article directory
1, zabbix monitoring httpd service
2, zabbix monitoring nginx
Font adjustment of web interface
Add a new monitoring item nginx.accept
3, Different types of picture switching
This experiment is based on the previous one, and has monitored server2 and server3
1, zabbix monitor ...
Posted by LuaMadman on Tue, 18 Feb 2020 04:19:53 -0800
66 Linux Tomcat nginx reverse agent
Experimental catalogue
Please be sure to check the basic environment settings of the previous blog
nginx reverse proxy
Dynamic and static separation based on nginx reverse agent
httpd reverse proxy tomcat
Using ajp protocol to reverse proxy tomcat in httpd
Jump to the end of the article
Please ...
Posted by boyakasha on Thu, 13 Feb 2020 06:32:54 -0800
Smooth restart of GoLang service
elicit questions
In the process of developing with go, if we modify the code, it is control+c that kills the running process, and then go run or go build that runs. When our project goes online, killing the process directly will lead to online service interruption, which is absolutely not allowed in ...
Posted by benrussell on Sat, 08 Feb 2020 03:31:02 -0800
K8S - ETCD deployment
Role assignment:
Environmental deployment
All virtual machines have turned off the firewall and selinux core protection functions
Practical operation
Build working directory to store binary software package
[root@master ~]# cd /
[root@master /]# mkdir k8s
Install ETCD database (three copy mechanism)master (download the ca Certificate creatio ...
Posted by coolphpdude on Fri, 07 Feb 2020 07:05:24 -0800