{"id":24625160,"url":"https://github.com/johnmccabe/podtail","last_synced_at":"2025-05-07T17:12:41.995Z","repository":{"id":57692735,"uuid":"106477693","full_name":"johnmccabe/podtail","owner":"johnmccabe","description":"#golang port of kubetail to tail Kubernetes logs from multiple pods at the same time, works on windows, osx and linux","archived":false,"fork":false,"pushed_at":"2018-02-01T01:57:19.000Z","size":714,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T17:12:33.116Z","etag":null,"topics":["golang","kubernetes","kubetail","linux","logging","logs","osx","pods","windows"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnmccabe.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}},"created_at":"2017-10-10T22:20:53.000Z","updated_at":"2022-11-14T13:03:23.000Z","dependencies_parsed_at":"2022-09-26T21:01:04.646Z","dependency_job_id":null,"html_url":"https://github.com/johnmccabe/podtail","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmccabe%2Fpodtail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmccabe%2Fpodtail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmccabe%2Fpodtail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmccabe%2Fpodtail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnmccabe","download_url":"https://codeload.github.com/johnmccabe/podtail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252922342,"owners_count":21825639,"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":["golang","kubernetes","kubetail","linux","logging","logs","osx","pods","windows"],"created_at":"2025-01-25T04:13:13.966Z","updated_at":"2025-05-07T17:12:41.968Z","avatar_url":"https://github.com/johnmccabe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Podtail\n\n[![Build Status](https://travis-ci.org/johnmccabe/podtail.svg \"Travis CI status\")](https://travis-ci.org/johnmccabe/podtail)\n[![Go Report Card](https://goreportcard.com/badge/github.com/johnmccabe/podtail)](https://goreportcard.com/report/github.com/johnmccabe/podtail)\n[![GitHub (pre-)release](https://img.shields.io/github/release/johnmccabe/podtail/all.svg)](https://github.com/johnmccabe/podtail/releases)\n\nPodtail is a Go port of Johan Haleby's [kubetail](https://github.com/johanhaleby/kubetail) utilty which now also allows Windows users to aggregate (tail/follow) logs from multiple pods into one stream.\n\nThis is the same as running `kubectl logs -f \u003cpod\u003e` but for multiple pods.\n\n## Compatibility with kubetail\n\nThe following checklist details which flags/options are currently supported:\n\n- [x] `-h, --help`\n- [ ] `-c, --container`\n- [x] `-t, --context`\n- [x] `-l, --selector`\n- [x] `-n, --namespace`\n- [x] `-s, --since`\n- [ ] `-b, --line-buffered`\n- [x] `-e, --regex`\n- [ ] `-j, --jq`\n- [x] `-k, --colored-output`\n- [ ] `-z, --skip-colors`\n- [x] `--timestamps`\n- [x] `--tail`\n- [x] `-v, --version`\n\nPlease raise an issue if theres an unimplemented flag you need support for.\n\n## Installation\nPodtail currently wraps the `kubectl` command which you need to have installed in order to use `podtail`.\n\nPlease refer to the Kubernetes documentation for information on how to install `kubectl` for your specific OS.\n\n### OSX\nYou use Brew to install the client as follows:\n\n    $ brew tap johnmccabe/podtail \u0026\u0026 brew install podtail\n\n### Windows\nJust download `podtail.exe` from the [Github Releases](https://github.com/johnmccabe/podtail/releases/) page and copy it to a location on your `%PATH%`.\n\n### Linux\nJust download `podtail.tgz` from the [Github Releases](https://github.com/johnmccabe/podtail/releases/) page, extract and copy it to a location on your `$PATH`.\n\n\n## Usage\nDetails of the support flags etc can be seen using the `--help` flag.\n\n    podtail --help\n\nNote that if `kubectl` isn't on the path you can explicitly point to it with the `--kubectl` flag, also if your Kube cluster config isn't in the standard `~/.kube/config` location you can point to an explicit location with the `--kubeconfig` flag.\n\nSome example commands include:\n\n    podtail my-pod-v1\n    podtail my-pod-v1 -t int1-context\n    podtail '(service|consumer|thing)' -e regex\n    podtail -l service=my-service\n    podtail --selector service=my-service --since 10m\n    podtail --tail 1\n    podtail gateway --kubectl C:/Kubernetes/bin/kubectl --kubeconf ./myconfig","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnmccabe%2Fpodtail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnmccabe%2Fpodtail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnmccabe%2Fpodtail/lists"}