Elk Installation--WIN10 Environment

Source: Internet
Author: User
Tags kibana logstash

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.