{"id":20037544,"url":"https://github.com/nktks/cloud-logging-exporter","last_synced_at":"2026-05-10T13:34:23.659Z","repository":{"id":130019904,"uuid":"490507569","full_name":"nktks/cloud-logging-exporter","owner":"nktks","description":"Cloud Logging exporter agent for files, stdin","archived":false,"fork":false,"pushed_at":"2022-07-06T14:18:35.000Z","size":32,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T18:52:11.522Z","etag":null,"topics":["cloudlogging","googlecloud"],"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/nktks.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":"2022-05-10T01:59:20.000Z","updated_at":"2023-03-06T21:26:43.000Z","dependencies_parsed_at":"2023-07-13T06:45:22.042Z","dependency_job_id":null,"html_url":"https://github.com/nktks/cloud-logging-exporter","commit_stats":null,"previous_names":["nakatamixi/cloud-logging-exporter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fcloud-logging-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fcloud-logging-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fcloud-logging-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fcloud-logging-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nktks","download_url":"https://codeload.github.com/nktks/cloud-logging-exporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241467608,"owners_count":19967691,"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":["cloudlogging","googlecloud"],"created_at":"2024-11-13T10:20:03.234Z","updated_at":"2026-05-10T13:34:23.598Z","avatar_url":"https://github.com/nktks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloud-logging-exporter\n`cloud-logging-exporter` is a command line agent tool to export file or stdin contents to Cloud Logging.\n\n# Install\n```\ngo install github.com/nktks/cloud-logging-exporter/cmd/cloud-logging-exporter@latest\n```\n\n# Usage\n```\n./cloud-logging-exporter  -h\nUsage of ./cloud-logging-exporter:\n  -file string\n    \ttarget file path for export\n  -logname string\n    \tlog name for Cloud Logging (default \"cloud-logging-exporter\")\n  -logstdout\n    \twhether print log with stdout.\n  -project string\n    \tGCP project\n  -saved\n    \texport saved contents of file.\n  -severity string\n    \tlog severity(default|debug|info|notice|warning|error|critical|alert|emergency) (default \"info\")\n  -touch\n    \ttouch file if not exists.\n```\nYou needs `GOOGLE_APPLICATION_CREDENTIALS` environment variables to authenticate Google Cloud.\nAnd authenticated user needs `roles/logging.logWriter` role.\n\nYou can export stdin as below execution.\n```\ntail -f /path/to/file | ./cloud-logging-exporter\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnktks%2Fcloud-logging-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnktks%2Fcloud-logging-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnktks%2Fcloud-logging-exporter/lists"}