{"id":21670828,"url":"https://github.com/tkuchiki/awslb-log-viewer","last_synced_at":"2026-05-09T06:35:31.076Z","repository":{"id":57618463,"uuid":"98253373","full_name":"tkuchiki/awslb-log-viewer","owner":"tkuchiki","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-06T13:39:57.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-20T06:38:56.165Z","etag":null,"topics":["alb","aws","elb","json","log"],"latest_commit_sha":null,"homepage":null,"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/tkuchiki.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-07-25T02:08:02.000Z","updated_at":"2023-12-19T05:16:27.000Z","dependencies_parsed_at":"2022-08-31T18:10:42.525Z","dependency_job_id":null,"html_url":"https://github.com/tkuchiki/awslb-log-viewer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tkuchiki/awslb-log-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fawslb-log-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fawslb-log-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fawslb-log-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fawslb-log-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkuchiki","download_url":"https://codeload.github.com/tkuchiki/awslb-log-viewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkuchiki%2Fawslb-log-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32809877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["alb","aws","elb","json","log"],"created_at":"2024-11-25T12:36:32.274Z","updated_at":"2026-05-09T06:35:31.049Z","avatar_url":"https://github.com/tkuchiki.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awslb-log-viewer\n\n## Installation\n\nDownload from https://github.com/tkuchiki/awslb-log-viewer/releases\n\n## Usage\n\n```console\n$ ./awslb-log-viewer --help\nusage: awslb-log-viewer [\u003cflags\u003e]\n\nFlags:\n      --help           Show context-sensitive help (also try --help-long and --help-man).\n  -f, --file=FILE      logfile\n  -t, --lb-type=\"ALB\"  ALB or ELB\n      --version        Show application version.\n```\n\n## Examples\n\n### ALB\n\n```console\n$ cat examples/alb.log | ./awslb-log-viewer | jq .\n{\n  \"type\": \"h2\",\n  \"timestamp\": \"2017-07-24T09:02:54.663814Z\",\n  \"elb\": \"app/test-alb/xxxxxxxxxx\",\n  \"client\": \"192.0.2.10:50072\",\n  \"target\": \"192.0.2.100:80\",\n  \"request_processing_time\": \"-1\",\n  \"target_processing_time\": \"-1\",\n  \"response_processing_time\": \"-1\",\n  \"elb_status_code\": \"502\",\n  \"target_status_code\": \"-\",\n  \"received_bytes\": \"248\",\n  \"sent_bytes\": \"610\",\n  \"method\": \"GET\",\n  \"http_version\": \"HTTP/2.0\",\n  \"protocol\": \"https\",\n  \"host\": \"example.com\",\n  \"port\": \"443\",\n  \"uri\": \"/\",\n  \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\",\n  \"ssl_cipher\": \"ECDHE-RSA-AES128-GCM-SHA256\",\n  \"ssl_protocol\": \"TLSv1.2\",\n  \"target_group_arn\": \"arn:aws:elasticloadbalancing:us-east-1:123456789012:targetgroup/testgroup/xxxxxxxxxx\",\n  \"trace_id\": \"Root=1-xxxxxxxx-xxxxxxxxxxxx\",\n  \"domain_name\": \"example.com\",\n  \"chosen_cert_arn\": \"arn:aws:acm:us-east-1:123456789012:certificate/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n  \"matched_rule_priority\": \"2\",\n  \"request_creation_time\": \"2019-01-21T07:32:28.468000Z\",\n  \"actions_executed\": \"forward\",\n  \"redirect_url\": \"-\",\n  \"error_reason\": \"-\",\n  \"target:port_list\": \"172.31.4.107:32796\",\n  \"target_status_code_list\": \"502\"\n}\n{\n  \"type\": \"h2\",\n  \"timestamp\": \"2017-07-24T09:03:54.663814Z\",\n  \"elb\": \"app/test-alb/xxxxxxxxxx\",\n  \"client\": \"192.0.2.10:50072\",\n  \"target\": \"192.0.2.100:80\",\n  \"request_processing_time\": \"-1\",\n  \"target_processing_time\": \"-1\",\n  \"response_processing_time\": \"-1\",\n  \"elb_status_code\": \"502\",\n  \"target_status_code\": \"-\",\n  \"received_bytes\": \"248\",\n  \"sent_bytes\": \"610\",\n  \"method\": \"GET\",\n  \"http_version\": \"HTTP/2.0\",\n  \"protocol\": \"https\",\n  \"host\": \"example.com\",\n  \"port\": \"443\",\n  \"uri\": \"/\",\n  \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\",\n  \"ssl_cipher\": \"ECDHE-RSA-AES128-GCM-SHA256\",\n  \"ssl_protocol\": \"TLSv1.2\",\n  \"target_group_arn\": \"arn:aws:elasticloadbalancing:us-east-1:123456789012:targetgroup/testgroup/xxxxxxxxxx\",\n  \"trace_id\": \"Root=1-xxxxxxxx-xxxxxxxxxxxx\",\n  \"domain_name\": \"example.com\",\n  \"chosen_cert_arn\": \"arn:aws:acm:us-east-1:123456789012:certificate/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n  \"matched_rule_priority\": \"2\",\n  \"request_creation_time\": \"2019-01-21T07:32:28.468000Z\",\n  \"actions_executed\": \"forward\",\n  \"redirect_url\": \"-\",\n  \"error_reason\": \"-\",\n  \"target:port_list\": \"172.31.4.108:32797\",\n  \"target_status_code_list\": \"200\"\n}\n```\n\n### ELB\n\n```console\n$ cat examples/elb.log | ./awslb-log-viewer -t ELB | jq .\n{\n  \"timestamp\": \"2017-07-24T09:02:54.663814Z\",\n  \"elb\": \"app/test-alb/xxxxxxxxxx\",\n  \"client\": \"192.0.2.10:50072\",\n  \"target\": \"192.0.2.100:80\",\n  \"request_processing_time\": \"-1\",\n  \"backend_processing_time\": \"-1\",\n  \"response_processing_time\": \"-1\",\n  \"elb_status_code\": \"502\",\n  \"backend_status_code\": \"-\",\n  \"received_bytes\": \"248\",\n  \"sent_bytes\": \"610\",\n  \"reqeust\": \"GET https://example.com:443/ HTTP/2.0\",\n  \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\",\n  \"ssl_cipher\": \"ECDHE-RSA-AES128-GCM-SHA256\",\n  \"ssl_protocol\": \"TLSv1.2\"\n}\n{\n  \"timestamp\": \"2017-07-24T09:03:54.663814Z\",\n  \"elb\": \"app/test-alb/xxxxxxxxxx\",\n  \"client\": \"192.0.2.10:50072\",\n  \"target\": \"192.0.2.100:80\",\n  \"request_processing_time\": \"-1\",\n  \"backend_processing_time\": \"-1\",\n  \"response_processing_time\": \"-1\",\n  \"elb_status_code\": \"502\",\n  \"backend_status_code\": \"-\",\n  \"received_bytes\": \"248\",\n  \"sent_bytes\": \"610\",\n  \"reqeust\": \"GET https://example.com:443/ HTTP/2.0\",\n  \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\",\n  \"ssl_cipher\": \"ECDHE-RSA-AES128-GCM-SHA256\",\n  \"ssl_protocol\": \"TLSv1.2\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkuchiki%2Fawslb-log-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkuchiki%2Fawslb-log-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkuchiki%2Fawslb-log-viewer/lists"}