Skip to content

feyzullahertan/kibana-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

Kibana with Fleet Manager

If you did not install Elasticsearch , let's take you to the previous repository Elasticsearch Cluster

Installation

Create VM Instances

CentOS image is used as Linux on Google Cloud

Requirements before creating VM Instance

>> The instances we will install must be in the same region and zone.

>> The instance will be E2 Series and machine type is e2 medium(2 vCPU, 4GB Memory).

>> Change boot disk with CentOS. Version is CentOS 7. Size is 20 GB.

>> Check is Allow HTTP Trafic and Allow HTTPS Trafic in Firewall settings.

Installation Elasticsearch

Download Elasticsearch

Choose Linuxx86_64

>> Get link at 'Download Linux86_64'.

Installation Kibana

Download Kibana

  wget https://artifacts.elastic.co/downloads/kibana/kibana-7.16.3-x86_64.rpm
  sudo rpm --install kibana-7.16.3-x86_64.rpm

Configuration

First we'll do some changes at kibana.yml

  cd /etc/kibana/
  nano kibana.yml

You can see everthing is comment mode. We need to delete "#" and configuration some lines. Btw we need change some lines for configuration:

  server.port: 5601
  server.host: "0.0.0.0" / You can write external IP.
  elasticsearch.host: ["http://localhost:9200"]

Secondly, we'll do some changes at elasticsearch.yml

  cd /etc/kibana/
  nano kibana.yml

Just add basic security parameters.

  cd /etc/kibana/
  nano kibana.yml
  xpack.security.enabled : true
  xpack.security.authc.api_key.enabled : true

Manage Username-Passwords

This is important step. Because we neen have username&password for accessing kibana dashboards or using fleet manager.

  cd /usr/share/elasticsearch/
  ./bin/elasticsearch-setup-passwords auto

Save your login settings :)

Starting Kibana

  service start elasticsearch /See "OK"
  service start kibana

Finally:

image