These reviews

There was an exploration of ES. – What? You don’t know ES yet? Today, let’s talk about how to get started with Kibana.

The installation

  1. download
  • Linux download:Wget HTTP: / / https://artifacts.elastic.co/downloads/kibana/kibana-5.0.2-linux-x86_64.tar.gz
  • The Mac download:Wget HTTP: / / https://artifacts.elastic.co/downloads/kibana/kibana-5.0.2-darwin-x86_64.tar.gz
  1. Modify the config/kibana.yml configuration
  • Sever. Port :5601 (default port 5601)
  • Server. host:localhost (localhost indicates that services are not provided externally and must be deployed on the server.
  • server.name:”your-hostname”
  • Url :”http://localhost:9200″ (use the address of elasticSearch, preferably IP and port. Even in cluster state, only one ES can be specified, and all clusters can be accessed.
  1. Start the
Bin /kibana // Foreground startup Nohup bin/ Kibana & // background startupCopy the code
  1. Check the status
http://localhost:5601/status
Copy the code

Set up the Index Patterns

Kibana requires you to set the index to search for, as shown in the figure. The index to search for is called my_index. Two search methods are supported: one is to specify a time field as the latitude of time, and the other is to use the time of the event as the latitude of time. I don’t know why the second method is officially not recommended, because to use the first method you must have a time type field in your ES data, otherwise it will never be searched. If the index previously had a document with no time field, the document will never be found in kibana’s search box.

Another thing is that with Kibana searches, there is a time specified by default. Sometimes it is found that the data is not searched, it is likely that the time is not set correctly. The data you’re asking for is longer than the scope of this search.

Search using Kibana

You can use Kibana’s search in Discover, as shown below.

One thing to notice is clicking the up arrow in the image above. You can see as shown below, here you can find the ES search statement using Kibana search, pit dad Kibana incredibly hidden so deep, let me a good search. Request, Response, and Statistics are important information.

Install X – Pack

Run bin/ Kibana-plugin install X-pack in the Kibana root directory to install

bin/kibana-plugin install x-pack
Copy the code

bin/kibana
Copy the code

Verify that x-Pack accesses local port 5601 in a browser and click Monitoring to view the Monitoring interface

Click the Overview on the top of the ElasticSearch panel to see the delay time and other information

Execute in the ES root directory

bin/elasticsearch-plugin install x-pack
Copy the code

If the installation succeeds, the installation succeeds.

In the next chapter, WE will continue to talk about ES. It’s been a little slack lately.

reference

Official Documentation for Kibana

Install ElasticSearch, Kibana, and X-Pack

About writing

From now on, I will write an article here every day, with no limit on subject matter, content or word count. Try to put your daily thoughts into it.

If this article has helped you, give it a thumbs up and even better follow it.

If none of these are available, write down what you want to say when you finish reading? Effective feedback and your encouragement are the biggest help to me.

And I’m going to pick up my blog. Welcome to visit and eat watermelon.

I’m shane. Today is August 23, 2019. Day 30 of the 100-day writing project, 30/100.