{"id":16771762,"url":"https://github.com/devexps/go-efk","last_synced_at":"2025-03-16T16:19:56.100Z","repository":{"id":192841601,"uuid":"687482803","full_name":"devexps/go-efk","owner":"devexps","description":"Golang microservice framework (Go-Micro) easily connects to the EFK log system","archived":false,"fork":false,"pushed_at":"2023-09-13T11:23:50.000Z","size":1115,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T03:17:15.310Z","etag":null,"topics":["efk-elastic-search--fluentd--kibana","framework","go-micro","golang","logging","microservice","system"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devexps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-05T12:54:58.000Z","updated_at":"2023-11-17T14:55:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"65ebcb02-a178-49c1-8ea2-86c5eb569ebd","html_url":"https://github.com/devexps/go-efk","commit_stats":null,"previous_names":["devexps/go-efk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devexps%2Fgo-efk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devexps%2Fgo-efk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devexps%2Fgo-efk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devexps%2Fgo-efk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devexps","download_url":"https://codeload.github.com/devexps/go-efk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243894171,"owners_count":20364977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["efk-elastic-search--fluentd--kibana","framework","go-micro","golang","logging","microservice","system"],"created_at":"2024-10-13T06:29:06.994Z","updated_at":"2025-03-16T16:19:56.074Z","avatar_url":"https://github.com/devexps.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-Micro connects to the EFK log system\n\n## Deploy EFK\n\nUse the following command to create a Docker container and run it in the background:\n\n```bash\ndocker-compose up -d\n```\n\n## Kibana query log\n\nKibana's access port is 5601, so we can access: [http://127.0.0.1:5601/](http://127.0.0.1:5601/)\n\nWhen we first entered Kibana, it was blank and nothing. Then, we need to add a `Data View`, which is equivalent to creating a log query view.\n\n![demo1](screenshot-001.png)\n\nWe click `Discover` -\u003e `Create a data view`, and then we will see the following interface:\n\n![demo2](screenshot-002.png)\n\nWe fill in `go-micro-fluentd` in the `Index pattern` text box.\nWith the `Timestamp field` we can find `ts` from the drop-down box and select it.\nThen, we can click `Save data view to Kibana` to create the view.\n\nWe will see a view of the log query:\n\n![demo3](screenshot-003.png)\n\nIn this view, what we see is only the most original log information.\nWe can check `msg` or other fields that need attention on the left, and Kibana will filter out the information we care about:\n\n![demo4](screenshot-004.png)\n\nIf you need to build a more complex query, you can build a query statement in the top search bar.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevexps%2Fgo-efk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevexps%2Fgo-efk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevexps%2Fgo-efk/lists"}