About
This connector lets you visualize your Amazon Athena warehouse data in Looker Studio dashboards. It enables you to create visualizations and reports using your Athena data without requiring intermediate data processing steps.
Before using the connector, ensure you have:
- A Looker Studio account
- An active Amazon Web Services (AWS) account
- Access to Amazon Athena service
- Required AWS credentials (Access Key ID and Secret Access Key)
- An S3 bucket for query results
Connector Configuration Fields
When setting up the connector in Looker Studio, you'll need to provide the following information:
- AWS Access Key ID: Your AWS access key
- AWS Secret Access Key: Your AWS secret key
- AWS Region: The AWS region where your Athena is located (e.g., us-east-1)
- Database Name: The name of your Athena database
- Output Bucket: The S3 bucket name for storing query results
- SQL Query: Your SQL query to fetch data
Get Amazon Athena Secrets
To obtain your AWS credentials:
- Log in to your AWS Management Console
- Navigate to IAM (Identity and Access Management)
- Go to Users → Security credentials
- Create or locate your access key
- Note down your Access Key ID and Secret Access Key
Grant Access to user
To grant access to the user:
- Log in to AWS Management Console
- Navigate to IAM (Identity and Access Management)
- Go to Users → Security credentials
- Click on the user you want to grant access to
- Click on the "Add permissions" button
- Select "Attach existing policies directly"
- Search for "AmazonAthenaFullAccess"
- Select the policy
- Click on the "Add permissions" button
- Search for "AmazonS3FullAccess"
- Select the policy
- Click on the "Add permissions" button
Create Result Bucket
To create an S3 bucket for query results:
- Log in to AWS Management Console
- Navigate to S3 service
- Click "Create bucket"
- Choose a unique name
- Select the same region as your Athena setup
- Configure bucket settings (default settings are usually sufficient)
- Create the bucket
About SQL Query
When writing your SQL query:
- Use standard SQL syntax supported by Athena
- Include all necessary columns in your
SELECT
statement - Be mindful of query performance and cost
- Test your query in Athena console before using it in the connector
- Consider using LIMIT for initial testing
Cost
Important!The connector is free to use.
Athena charges based on:
- Amount of data scanned per query
- Number of queries executed
- Data storage in S3
To optimize costs:
- Use specific column names instead of
SELECT *
- Add appropriate
WHERE
clauses to limit data scanned - Consider partitioning your data
- Use appropriate data formats (Parquet, ORC) for better compression
Troubleshooting
Connection Failed
- Verify AWS credentials are correct
- Check if the region matches your Athena setup
- Ensure the database name exists
Query Execution Error
- Check SQL syntax
- Verify table and column names
- Ensure proper permissions on S3 bucket
Slow Performance
- Optimize your SQL query
- Check if data is properly partitioned
- Consider reducing the amount of data scanned
Missing Data
- Verify table permissions
- Check if the query returns expected results in Athena console
- Ensure all required columns are included in
SELECT
statement
Support
For assistance with the connector:
-
Documentation
- Review this guide thoroughly
- Check Looker Studio documentation
- Consult AWS Athena documentation
-
Getting Help
- For immediate assistance, contact support through OWOX support (bi@owox.com)
- Include specific error messages and steps to reproduce issues
- Provide relevant screenshots when possible
0 Comments