If you did not install Elasticsearch , let's take you to the previous repository Elasticsearch Cluster
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.
Choose Linuxx86_64
>> Get link at 'Download Linux86_64'.
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.16.3-x86_64.rpm
sudo rpm --install kibana-7.16.3-x86_64.rpm
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
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 :)
service start elasticsearch /See "OK"
service start kibana
Finally: