Skip to content

aws.application_insights.list_problems

Example SQL Queries

SELECT * FROM
aws.application_insights.list_problems;

Description

Lists the problems with your application.

Table Definition

Column NameColumn Data Type
account_id Input Column

The AWS account ID for the resource group owner.

VARCHAR
component_name Input Column

The name of the component.

VARCHAR
end_time Input Column

The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.

TIMESTAMP_S
max_results Input Column

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

BIGINT
next_token Input Column

The token used to retrieve the next page of results. This value is null when there are no more results to return.

VARCHAR
resource_group_name Input Column

The name of the resource group.

VARCHAR
start_time Input Column

The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.

TIMESTAMP_S
visibility Input Column

Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

problem_list

The list of problems.

STRUCT(
"id" VARCHAR,
"title" VARCHAR,
"insights" VARCHAR,
"status" VARCHAR,
"affected_resource" VARCHAR,
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S,
"severity_level" VARCHAR,
"account_id" VARCHAR,
"resource_group_name" VARCHAR,
"feedback" MAP(VARCHAR, VARCHAR),
"recurring_count" BIGINT,
"last_recurrence_time" TIMESTAMP_S,
"visibility" VARCHAR,
"resolution_method" VARCHAR
)[]
Show child fields
problem_list[]
Show child fields
problem_list[].account_id

The AWS account ID for the owner of the resource group affected by the problem.

problem_list[].affected_resource

The resource affected by the problem.

problem_list[].end_time

The time when the problem ended, in epoch seconds.

problem_list[].feedback

Feedback provided by the user about the problem.

problem_list[].id

The ID of the problem.

problem_list[].insights

A detailed analysis of the problem using machine learning.

problem_list[].last_recurrence_time

The last time that the problem reoccurred after its last resolution.

problem_list[].recurring_count

The number of times that the same problem reoccurred after the first time it was resolved.

problem_list[].resolution_method

Specifies how the problem was resolved. If the value is AUTOMATIC, the system resolved the problem. If the value is MANUAL, the user resolved the problem. If the value is UNRESOLVED, then the problem is not resolved.

problem_list[].resource_group_name

The name of the resource group affected by the problem.

problem_list[].severity_level

A measure of the level of impact of the problem.

problem_list[].start_time

The time when the problem started, in epoch seconds.

problem_list[].status

The status of the problem.

problem_list[].title

The name of the problem.

problem_list[].visibility

Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.