GCP — ELK Stack on Ubuntu 21.04

GCP Marketplace Image User Guide

ELK on Ubuntu 21.04 by Classmethod Canada Inc.
GCP Compute Engine VM Instance
{https://{External IP}:5601
Kibana Dashboard
gcloud beta compute ssh --zone "us-west1-a" "elk"  --project "classmethod-can-public"

Elasticsearch

curl -X GET "localhost:9200/"
{
“name” : “ip-172–31–28–88”,
“cluster_name” : “my-application”,
“cluster_uuid” : “dLfzIIfwSEWOnuu5i1I6OQ”,
“version” : {
“number” : “7.2.0”,
“build_flavor” : “default”,
“build_type” : “deb”,
“build_hash” : “508c38a”,
“build_date” : “2019–06–20T15:54:18.811730Z”,
“build_snapshot” : false,
“lucene_version” : “8.0.0”,
“minimum_wire_compatibility_version” : “6.8.0”,
“minimum_index_compatibility_version” : “6.0.0-beta1”
},
“tagline” : “You Know, for Search”
}
sudo service elasticsearch status
sudo service elasticsearch restart
sudo service elasticsearch stop

Logstash

sudo service logstash status

Kibana

sudo service kibana status

Troubleshooting

Scenario 1.

sudo reboot

Scenario 2.

Kibana error at launch
thisisunsafe
Loading Elastic
Welcome Page

References

We are Vancouver-based cloud integrators and solutions architects focusing on cloud system infrastructure, IoT cloud architecture and cloud migration .