ElasticSearch ~ query operation ~ (simple query, batch query, matching query, fuzzy query, accurate query, range query, wildcard query, must query, should query, filter query)

1, Simple query 1, Query all results GET /student_info/_search { "query": {"match_all": {}} } 2, Query by criteria GET /student_info/_search { "query":{ "match":{ "name":"Zhang San" } } } 3, Sort GET /student_info/_search { "query":{ "match":{ "name":"Zhang San" } }, "sort":[{ "age":"desc" } ...

Added by jonki on Fri, 25 Feb 2022 15:23:29 +0200

Elasticsearch: retrieve password - Password Recovery

If you have any questions about how to set up security for Elasticsearch cluster, please read my previous article“ Elasticsearch: set Elastic account security ”. Security is very important for an elastic search. Otherwise, our cluster is running naked. Before the following exercises, it is recommended to refer to the article“ ...

Added by Cagecrawler on Mon, 17 Jan 2022 04:27:01 +0200

Beats: use Rsyslog on Linux system to collect logs and import them into Elasticsearch

In my previous article: Beats: introduction to beats (I)Beats: introduction to beats (II) I detailed how to use the system module in Filebeat to import syslog into Elasticsearch. This is by far the quickest way. In actual use, we can also use other to import syslog. The method here is: Using the in Filebeat syslog input Import using Logstas ...

Added by ozzythaman on Tue, 04 Jan 2022 02:59:38 +0200

Logstash: use logstash to analyze Service API data

I remember in the previous article“ Logstash: API analysis using ELK stack ”Use Logstash to analyze the API of some indicators. In today's exercise, I will show how to use Logstash to analyze the service APIs of some log classes. We know that in many cases, we can quickly use some scripts to analyze the data of some service APIs. Th ...

Added by kostasls on Sat, 25 Dec 2021 20:54:09 +0200

Improve the ES search module to query es like a database with complete small cases

Writing requirements written to the search module in the previous period of time, with more and more conditions, more and more complex combination of various conditions, and poor maintenance in the later period, so improved the previous search writing, wrote a small case in spare time, and discussed with you. Complete case github.com/zxr615/g ...

Added by djheru on Mon, 13 Sep 2021 19:22:39 +0300