{"id":21053505,"url":"https://github.com/etcinit/sauron","last_synced_at":"2025-03-13T23:27:04.305Z","repository":{"id":31077332,"uuid":"34636307","full_name":"etcinit/sauron","owner":"etcinit","description":"CLI tool for tail-ing a whole log directory recursively and dynamically","archived":false,"fork":false,"pushed_at":"2015-05-05T06:39:47.000Z","size":180,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-20T18:45:46.413Z","etag":null,"topics":[],"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/etcinit.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":"2015-04-26T23:32:02.000Z","updated_at":"2017-12-17T07:37:06.000Z","dependencies_parsed_at":"2022-09-09T03:31:28.260Z","dependency_job_id":null,"html_url":"https://github.com/etcinit/sauron","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/etcinit%2Fsauron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Fsauron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Fsauron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Fsauron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etcinit","download_url":"https://codeload.github.com/etcinit/sauron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243497673,"owners_count":20300294,"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":[],"created_at":"2024-11-19T16:06:59.537Z","updated_at":"2025-03-13T23:27:04.283Z","avatar_url":"https://github.com/etcinit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [sauron](https://github.com/etcinit/sauron) [![GoDoc](https://godoc.org/github.com/etcinit/sauron?status.svg)](https://godoc.org/github.com/etcinit/sauron)\n\nCLI tool for tail-ing a whole log directory recursively and dynamically\n\n[![wercker status](https://app.wercker.com/status/ed8e8b86cb05d50c598dcff7ef070df2/m \"wercker status\")](https://app.wercker.com/project/bykey/ed8e8b86cb05d50c598dcff7ef070df2)\n\n## What and why?\n\n`tail` is really nice for monitoring logs. It also works recursively:\n`tail -f **/*.log`, which means you can use it to monitor a directory of logs.\nHowever, I couldn't find a simple command for doing this and automatically\nfollowing new files.\n\nSauron is a tool that allows you to do exactly that. Run it in a directory and\nit will essentially output the result of calling tail -f on every single file\nwithin the directory (even ones created after the command is ran).\n\nSauron is also a library, so you can extend the functionality to push logs to\nan external service or database.\n\n## Can I haz?\n\nYes,\n\n```sh\n# Tap\nbrew tap etcinit/homebrew-etcinit\n\n# Install\nbrew install sauron\n\n# Get usage info\nsauron help\n```\n\nor if you have GOPATH setup:\n\n```sh\n# Get the package\ngo get github.com/etcinit/sauron\n\n# Get usage info (make sure $GOPATH/bin is in your $PATH)\nsauron help\n```\n\n## Future ideas:\n\n- Filter by regex\n- Integrated support for sinks (InfluxDB, ElasticSearch, MySQL, syslogd)\n- Better error reporting\n\nFeel free to open a PR if you have something you would like to add\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcinit%2Fsauron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetcinit%2Fsauron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcinit%2Fsauron/lists"}