{"id":18586338,"url":"https://github.com/kateyst/hw18-elk","last_synced_at":"2026-01-25T16:01:45.056Z","repository":{"id":197051205,"uuid":"697895978","full_name":"KateySt/hw18-ELK","owner":"KateySt","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-28T17:54:00.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-16T06:36:06.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KateySt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-28T17:37:43.000Z","updated_at":"2023-09-28T17:37:44.000Z","dependencies_parsed_at":"2023-09-28T21:04:50.184Z","dependency_job_id":null,"html_url":"https://github.com/KateySt/hw18-ELK","commit_stats":null,"previous_names":["kateyst/hw18-elk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KateySt/hw18-ELK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw18-ELK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw18-ELK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw18-ELK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw18-ELK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KateySt","download_url":"https://codeload.github.com/KateySt/hw18-ELK/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KateySt%2Fhw18-ELK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28755045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T00:37:57.340Z","updated_at":"2026-01-25T16:01:45.030Z","avatar_url":"https://github.com/KateySt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"1.kubectl get namespaces\r\n\r\n```\r\nNAME          STATUS    AGE\r\ndefault       Active    5m\r\nkube-system   Active    5m\r\nkube-public   Active    5m\r\n```\r\n\r\n2.kube-logging.yaml \r\n\r\n3.kubectl create -f kube-logging.yaml\r\n```\r\nnamespace/kube-logging created\r\n```\r\n4.kubectl get namespaces\r\n```\r\nNAME           STATUS    AGE\r\ndefault        Active    23m\r\nkube-logging   Active    1m\r\nkube-public    Active    23m\r\nkube-system    Active    23m\r\n```\r\n5.elasticsearch_svc.yaml\r\n\r\n6.kubectl create -f elasticsearch_svc.yaml\r\n```\r\nservice/elasticsearch created\r\n```\r\n7.kubectl get services --namespace=kube-logging\r\n```\r\nNAME            TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)             AGE\r\nelasticsearch   ClusterIP   None         \u003cnone\u003e        9200/TCP,9300/TCP   26s\r\n```\r\n8.elasticsearch_statefulset.yaml\r\n\r\n9.kubectl create -f elasticsearch_statefulset.yaml\r\n```\r\nstatefulset.apps/es-cluster created\r\n```\r\n10.kubectl rollout status sts/es-cluster --namespace=kube-logging\r\n```\r\nWaiting for 3 pods to be ready...\r\nWaiting for 3 pods to be ready...\r\nWaiting for 3 pods to be ready...\r\nWaiting for 3 pods to be ready...\r\nWaiting for 3 pods to be ready...\r\nWaiting for 3 pods to be ready...\r\nWaiting for 3 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 2 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\nWaiting for 1 pods to be ready...\r\n\r\npartitioned roll out complete: 3 new pods have been updated...\r\n```\r\n11.kubectl port-forward es-cluster-0 9200:9200 --namespace=kube-logging\r\n```\r\n {\r\n  \"cluster_name\" : \"k8s-logs\",\r\n  \"compressed_size_in_bytes\" : 348,\r\n  \"cluster_uuid\" : \"QD06dK7CQgids-GQZooNVw\",\r\n  \"version\" : 3,\r\n  \"state_uuid\" : \"mjNIWXAzQVuxNNOQ7xR-qg\",\r\n  \"master_node\" : \"IdM5B7cUQWqFgIHXBp0JDg\",\r\n  \"blocks\" : { },\r\n  \"nodes\" : {\r\n    \"u7DoTpMmSCixOoictzHItA\" : {\r\n      \"name\" : \"es-cluster-1\",\r\n      \"ephemeral_id\" : \"ZlBflnXKRMC4RvEACHIVdg\",\r\n      \"transport_address\" : \"10.244.8.2:9300\",\r\n      \"attributes\" : { }\r\n    },\r\n    \"IdM5B7cUQWqFgIHXBp0JDg\" : {\r\n      \"name\" : \"es-cluster-0\",\r\n      \"ephemeral_id\" : \"JTk1FDdFQuWbSFAtBxdxAQ\",\r\n      \"transport_address\" : \"10.244.44.3:9300\",\r\n      \"attributes\" : { }\r\n    },\r\n```\r\n12.kibana.yaml\r\n\r\n13.kubectl create -f kibana.yaml\r\n```\r\nservice/kibana created\r\ndeployment.apps/kibana created\r\n```\r\n14. kubectl rollout status deployment/kibana --namespace=kube-logging\r\n```\r\ndeployment \"kibana\" successfully rolled out\r\n```\r\n15.kubectl get pods --namespace=kube-logging\r\n```\r\nNAME                      READY     STATUS    RESTARTS   AGE\r\nes-cluster-0              1/1       Running   0          60m\r\nes-cluster-1              1/1       Running   0          59m\r\nes-cluster-2              1/1       Running   0          58m\r\nkibana-6c9fb4b5b7-plbg2   1/1       Running   0          5m54s\r\n```\r\n16.kubectl port-forward kibana-6c9fb4b5b7-plbg2 5601:5601 --namespace=kube-logging\r\n```\r\nForwarding from 127.0.0.1:5601 -\u003e 5601\r\nForwarding from [::1]:5601 -\u003e 5601\r\n```\r\n17.http://localhost:5601\r\n\r\n18.fluentd.yaml\r\n\r\n19.kubectl create -f fluentd.yaml\r\n```\r\nserviceaccount/fluentd created\r\nclusterrole.rbac.authorization.k8s.io/fluentd created\r\nclusterrolebinding.rbac.authorization.k8s.io/fluentd created\r\ndaemonset.extensions/fluentd created\r\n```\r\n20.kubectl get ds --namespace=kube-logging\r\n```\r\nNAME      DESIRED   CURRENT   READY     UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE\r\nfluentd   3         3         3         3            3           \u003cnone\u003e          59s\r\n```\r\n21.counter.yaml\r\n\r\n22.kubectl create -f counter.yaml\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkateyst%2Fhw18-elk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkateyst%2Fhw18-elk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkateyst%2Fhw18-elk/lists"}