AWS

Download 617
Last updated Dec 1, 2026

5. Connection Profile

After installing the AWS app, add a connection profile and then the loggers.

Connection Profile

Go to Settings > Connect Profiles, click Add, and add a connection profile. For details, see Connect Profiles.

AWS connection profile settings

AWS connection profile settings

AWS connection profile settings

The main fields of the connection profile are as follows.

  • Name: Unique name to identify the connection profile
  • Code: Unique identifier of the connection profile used in Logpresso queries
  • Type: Select AWS
  • type: Type of credentials used to call AWS APIs (default: Access Key)
    • Access Key: Calls AWS APIs with the access key and secret access key issued to the IAM user
    • Instance Profile: Calls AWS APIs with the instance profile permissions when Logpresso Sonar runs on an EC2 instance
    • STS: Calls AWS APIs according to the IAM role
  • Client regions: Regions allowed for API access, such as ap-northeast-2, separated by commas (,)
  • VPC Endpoints: (Required when using PrivateLink) Per-service endpoint URLs. See Entering VPC endpoints below
  • HTTP proxy: (When connecting through a proxy) IP:port
  • Access Key ID: (Required when type is Access Key or STS) Access key ID copied when adding the IAM user (starts with AKIA)
  • Secret Access Key: (Required when type is Access Key) Secret access key copied when adding the IAM user
  • STS IAM ARN: (Required when type is STS) ARN of the STS role
  • STS Endpoint, S3 Endpoint, CloudWatch Endpoint: Deprecated. Use VPC Endpoints instead

For hosts that obtain temporary credentials with an X.509 certificate, select AWS (Roles Anywhere) as the Type. See Roles Anywhere for its fields.

Entering VPC endpoints

When connecting through AWS PrivateLink on a closed network, enter the per-service endpoints in VPC Endpoints. Use servicekey=URL, separated by commas or line breaks.

sts=https://vpce-1a2b3c4d.sts.ap-northeast-2.vpce.amazonaws.com
s3=https://bucket.vpce-1a2b3c4d.s3.ap-northeast-2.vpce.amazonaws.com
monitoring=https://vpce-1a2b3c4d.monitoring.ap-northeast-2.vpce.amazonaws.com
logs=https://vpce-1a2b3c4d.logs.ap-northeast-2.vpce.amazonaws.com

The service key is the last element of the AWS VPC endpoint service name (com.amazonaws.{region}.{servicekey}). Enter only the keys the log types you collect need.

Service keyUsed by
s3Every logger that reads from an S3 bucket (CloudTrail, ALB/CLB, VPC Flow, WAF, GuardDuty, Network Firewall, Config, S3 Server Access, S3 Daily Rolling Directory Watcher)
monitoringAWS Shield logger (CloudWatch metrics)
logsAWS Security Hub logger (CloudWatch Logs)
sqsAWS Aurora DB Activity logger, immediate collection on S3 event notifications
stsWhen type is STS, or when using Roles Anywhere
rds, ec2, iam, and so onWhen using the query commands of that service

Append @region to a service key to apply it to that region only; without it the endpoint applies to every region in Client regions.

s3@ap-northeast-2=https://bucket.vpce-1a2b3c4d.s3.ap-northeast-2.vpce.amazonaws.com,
s3@us-east-1=https://bucket.vpce-5e6f7g8h.s3.us-east-1.vpce.amazonaws.com
Note
The VPC Endpoints option is supported from AWS 2.0.2612.0. Earlier versions offer only the STS Endpoint, S3 Endpoint, and CloudWatch Endpoint options. When left empty, the default AWS endpoint of the region is used. An invalid format is reported when the connection profile is saved.

After creating the connection profile, you can use the query commands.