{"id":15698685,"url":"https://github.com/linguinecode/terraform-aws-athena-lb-logs","last_synced_at":"2025-04-30T08:42:05.852Z","repository":{"id":73392455,"uuid":"155607263","full_name":"LinguineCode/terraform-aws-athena-lb-logs","owner":"LinguineCode","description":"A terraform module that sets up Athena for querying and analyzing LB Access Logs","archived":false,"fork":false,"pushed_at":"2020-10-09T19:29:54.000Z","size":4,"stargazers_count":6,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T15:54:44.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Smarty","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/LinguineCode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-31T18:44:15.000Z","updated_at":"2023-07-21T14:22:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"739a74cf-e586-468f-a152-63baa733e802","html_url":"https://github.com/LinguineCode/terraform-aws-athena-lb-logs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinguineCode%2Fterraform-aws-athena-lb-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinguineCode%2Fterraform-aws-athena-lb-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinguineCode%2Fterraform-aws-athena-lb-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinguineCode%2Fterraform-aws-athena-lb-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinguineCode","download_url":"https://codeload.github.com/LinguineCode/terraform-aws-athena-lb-logs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246328041,"owners_count":20759696,"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-10-03T19:32:07.375Z","updated_at":"2025-03-30T14:23:45.586Z","avatar_url":"https://github.com/LinguineCode.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-athena-lb-logs\n\nA terraform module that creates resources to be able to query Load Balancer Access Logs via Athena according to this guide: \u003chttps://docs.aws.amazon.com/athena/latest/ug/application-load-balancer-logs.html\u003e.\n\n## Features\n\n  1. Creates an Athena Database\n  1. Creates an Athena Named Query that creates the table with the documented schema\n\n## Usage\n\n### Step 1\n\n```\nmodule \"athena-lb-logs\" {\n  source = \"github.com/solsglasses/terraform-aws-athena-lb-logs.git\"\"\n\n  name           = \"mylbaccesslogs\"\n  s3_bucket_name = \"${module.s3_bucket.s3_bucket_id}\"\n}\n```\n\n### Step 2\n\n  1. Go to the Athena console and click on Saved Queries \u003chttps://console.aws.amazon.com/athena/saved-queries/home\u003e\n  1. Click the new saved query that is named `\u003ccustom_name\u003e-create-table` and Run it. You only have to do it once.\n  1. That's all, try a query `select * from lb_logs limit 100;`\n\n## Outputs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinguinecode%2Fterraform-aws-athena-lb-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinguinecode%2Fterraform-aws-athena-lb-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinguinecode%2Fterraform-aws-athena-lb-logs/lists"}