First, Elasticsearch installation
Prerequisites: The JDK environment variable is configured well
1: Unzip use command to start
after startup can be viewed in the browser
2: If you feel the command start is more troublesome can install the service
Execute Elasticsearch-service.bat install under the bin directory
After you install the service, you can view it in the service list
3:elasticsearch itself view data to use the command, no method, so install a plugin for easy query
(1) download plugin elasticsearch-head-master
(2) install head plugin after ES5 to use nodeJs, download node-v8.10.0-win-x64 , configure environment variables
(3) execute command installation grunt:cnpm Grunt
Description: Grunt is a based on JavaScript a very powerful front-end automation tool ( Task Runner ) based on NodeJS project management tools for automating the building, testing, and building of documents.
(4) install plugin, execute command in Head plugin directory:cnpm Install
(5) modify The listener address of the head plug-in configuration file:
Connect: {
Server: {
Options: {
Hostname: ' * ',
PORT:9100,
Base: '. ',
Keepalive:true
}
}
}
Description:elasticsearch-head-master/_site/app.js, modify the address of head connection es to localhost modified to es IP address
"Http://localhost:9200"; Es does not need to be modified locally
(6) execute Grunt server boot head
(7) Elasticsearch configuration file modification Add
Http.cors.enabled:true
Http.cors.allow-origin: "*"
Description: Parameter one: If you enable the HTTP Port, this property specifies whether to allow cross-origin REST requests.
parameter two: if the value of http.cors.enabled is true, then this property specifies where the REST request is allowed to come from.
(8) Browser plugin view elasticsearch data:
Description: My this is already collected from Logstash logs, so there are these items
Second, Logstash installation
start using the configuration file when you unzip it.
Description: Configuration file is configured to read the log path and other properties of the configuration, in the next article in detail, this article only describes the installation.
Third, Kibana installation
after decompression adding in the configuration file
Where:server.name is The computer name of the installation Kibana
on the command line:kibana.bat Boot
viewing with a browser
Installation Complete ~
Elk Installation--WIN10 Environment