Actions140
- Application Load Balancer Actions
- Contract Actions
- Datacenter Actions
- Firewall Rule Actions
- Image Actions
- IP Block Actions
- Kubernetes Cluster Actions
- LAN Actions
- Load Balancer Actions
- Location Actions
- NAT Gateway Actions
- Network Load Balancer Actions
- NIC Actions
- Node Pool Actions
- Private Cross-Connect Actions
- Request Actions
- Security Group Actions
- Server Actions
- Snapshot Actions
- Target Group Actions
- Volume Actions
Application Load Balancer → Get Flow Logs
AI-generatedSummary
Retrieve flow logs associated with a specified Application Load Balancer within a given datacenter.
Inputs
- Datacenter ID (required) — The ID of the datacenter containing the Application Load Balancer.
- Application Load Balancer ID (required) — The ID of the Application Load Balancer to fetch flow logs for.
- Include Request Status — Optionally include the request tracking ID and status URL for async operations.
- Include Response Headers — Optionally include HTTP response headers and status code in the output.
Output shape
a JSON object or array representing the flow logs for the specified Application Load Balancer. If enabled, the response may also include HTTP headers and status code.
The output shape depends on whether response headers inclusion is enabled. If 'Include Response Headers' is true, the main response body is nested under the 'body' key, with 'headers' and 'statusCode' alongside it. The operation requires valid datacenter and Application Load Balancer IDs. Request status tracking information is only applicable for asynchronous operations but is available as an option here.
Examples
Example 1: Fetch flow logs for an Application Load Balancer and include HTTP response metadata.
Set 'Datacenter ID' and 'Application Load Balancer ID' to target resources; enable 'Include Response Headers' to get response metadata along with logs.