Elasticsearch

Elasticsearch (https://www.elastic.co/products/elasticsearch) is a Log Analytics tool that helps store and create index out of the bulk of data streams based on the configuration with timestamp, which solves the problem of developers trying to identify the log related to their issue. Elasticsearch is a NoSQL database that is based on the Lucene search engine.

Once you have installed Elasticsearch, you can validate the version and cluster details by clicking on the following URL:
http://ip-address:9200/.

The output will look like this:

This proves that Elasticsearch is up and running. Now, if you want to see whether logs are being created or not, you can query Elasticsearch using the following URL:
http://ip-address:9200/_search?pretty.

The output will look like the following screenshot:

In order to see the indexes already created, you can click on the following URL:
http://ip-address:9200/_cat/indices?v.

The output will be similar to the following screenshot:

If you want to know more about the Elasticsearch queries, index operations, and more, read this article:
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices.html.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.229.161