{"id":17921395,"url":"https://github.com/m-messiah/timedtail","last_synced_at":"2026-01-21T15:33:24.663Z","repository":{"id":147842490,"uuid":"169970638","full_name":"m-messiah/timedtail","owner":"m-messiah","description":"Tail logs by timestamps","archived":false,"fork":false,"pushed_at":"2022-02-03T11:31:54.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-14T05:30:00.446Z","etag":null,"topics":["logs","tail","timestamp"],"latest_commit_sha":null,"homepage":"","language":"Go","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/m-messiah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["m-messiah"],"patreon":"m_messiah","custom":"https://money.yandex.ru/to/41001707491087"}},"created_at":"2019-02-10T11:25:26.000Z","updated_at":"2023-08-18T09:54:00.000Z","dependencies_parsed_at":"2023-05-27T16:30:16.517Z","dependency_job_id":null,"html_url":"https://github.com/m-messiah/timedtail","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-messiah%2Ftimedtail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-messiah%2Ftimedtail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-messiah%2Ftimedtail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-messiah%2Ftimedtail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-messiah","download_url":"https://codeload.github.com/m-messiah/timedtail/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247803837,"owners_count":20998841,"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":["logs","tail","timestamp"],"created_at":"2024-10-28T20:33:36.994Z","updated_at":"2026-01-21T15:33:24.657Z","avatar_url":"https://github.com/m-messiah.png","language":"Go","funding_links":["https://github.com/sponsors/m-messiah","https://patreon.com/m_messiah","https://money.yandex.ru/to/41001707491087"],"categories":[],"sub_categories":[],"readme":"# timedtail\n\n[![GitHub release](https://img.shields.io/github/release/m-messiah/timedtail.svg?style=flat-square)](https://github.com/m-messiah/timedtail/releases)\n[![Travis](https://img.shields.io/travis/m-messiah/timedtail.svg?style=flat-square)](https://travis-ci.org/m-messiah/timedtail)\n[![Maintainability](https://api.codeclimate.com/v1/badges/7c40d359fbd8e2915b4a/maintainability)](https://codeclimate.com/repos/5c600a617c358f028700122a/maintainability)\n\nTail logs by timestamps\n\n## Usage\n\n```\nUsage: timedtail [options] \u003clog files\u003e...\n  -b int\n        From which datetime start to operate seconds of the \u003clog file\u003e\n  -j int\n        Max number of junk lines to read (default 500)\n  -n int\n        Delta time count from now() to look at from the end of the \u003clog file\u003e (default 300)\n  -r string\n        Regexp to pick timestamp from string ($1 must select timestamp)\n  -t string\n        Timestamp type (default \"common\")\n  -utc\n        Parse timestamps as they are in UTC timezone, not local.\n```\n\n## Examples\n\n1. Show last minute from several nginx logs ```timedtail -n 60 /var/log/nginx/app1/access.log /var/log/nginx/app2/access.log```\n2. Show five minutes before unixtime from postgresql.log (log is multilines, so we use junk lines setting for skip non-timed lines) ```timedtail -t postgres -n 300 -b 1549800882 -j 10000 /var/log/postgresql/postgresql-9.6-data.log```\n3. Show last five seconds from custom.log ```timedtail -r '(\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d)' -n 5 /var/log/my_supper_app.log```\n\n## Install\n\nJust download required binary from GitHub Releases somewhere to $PATH\n\n## Compile\n\nIf you want to compile by yourself use:\n```\ngit clone https://github.com/m-messiah/timedtail.git \u0026\u0026 go get \u0026\u0026 go build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-messiah%2Ftimedtail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-messiah%2Ftimedtail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-messiah%2Ftimedtail/lists"}