{"id":23806965,"url":"https://github.com/stuartcarnie/line2csv","last_synced_at":"2025-08-25T01:32:35.643Z","repository":{"id":66736038,"uuid":"114062148","full_name":"stuartcarnie/line2csv","owner":"stuartcarnie","description":"Transforms InfluxDB line protocol to CSV","archived":false,"fork":false,"pushed_at":"2020-02-22T15:08:59.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T17:48:53.868Z","etag":null,"topics":["converter","csv","go","golang","influxdb"],"latest_commit_sha":null,"homepage":null,"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/stuartcarnie.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-13T02:14:49.000Z","updated_at":"2017-12-13T02:16:01.000Z","dependencies_parsed_at":"2023-02-20T22:46:05.362Z","dependency_job_id":null,"html_url":"https://github.com/stuartcarnie/line2csv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stuartcarnie/line2csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartcarnie%2Fline2csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartcarnie%2Fline2csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartcarnie%2Fline2csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartcarnie%2Fline2csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuartcarnie","download_url":"https://codeload.github.com/stuartcarnie/line2csv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartcarnie%2Fline2csv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271991121,"owners_count":24854711,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["converter","csv","go","golang","influxdb"],"created_at":"2025-01-01T23:16:58.718Z","updated_at":"2025-08-25T01:32:35.638Z","avatar_url":"https://github.com/stuartcarnie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"line2csv\n========\n\nTransform InfluxDB line protocol to CSV.\n\nUsage\n-----\n\nSpecifying both input and output files:\n\n```bash\n$ ./line2csv input.txt -o output.csv\n```\n\nFormat\n------\n\nFor each line, every field will generate a separate line in the CSV.\n\n**Input:**\n\n```text\ncpu,host=foo,region=us-west-1 user=0.50,system=0.25 1000\ncpu,host=foo,region=us-west-1 user=0.10,system=0.15 1001\n```\n\n**Output:**\n\n```csv\ntimestamp,key,field_name,field_value\n1000,\"cpu,host=foo,region=us-west-1\",user,0.50\n1000,\"cpu,host=foo,region=us-west-1\",system,0.25\n1001,\"cpu,host=foo,region=us-west-1\",user,0.10\n1001,\"cpu,host=foo,region=us-west-1\",system,0.15\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartcarnie%2Fline2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuartcarnie%2Fline2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartcarnie%2Fline2csv/lists"}