Skip to content

[NR-375014] Add entity definition for AWS Unified Lambda - Logging Integrations #1971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions entity-types/ext-aws_lambda_log_forwarder/definition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
domain: EXT
type: AWS_LAMBDA_LOG_FORWARDER
goldenTags:
- aws.region
- aws.accountId
configuration:
entityExpirationTime: QUARTERLY
alertable: true
synthesis:
rules:
- compositeIdentifier:
separator: ":"
attributes:
- awsRealm
- instrumentation.name
- awsRegion
- awsAccountId
- FunctionName
- logForwarder
# Option 2: - identifier: awslogForwarderArn

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which option should we use?

name: functionName

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

encodeIdentifierInGUID: true
legacyFeatures:
overrideGuidType: true
conditions:
- attribute: eventType
prefix: Metric
- attribute: logForwarder
present: true
- attribute: instrumentation.provider
value: aws
- attribute: instrumentation.name
value: lambda
tags:
# Can be Used for entity relationship candidates
# Metrics Streams and API Polling entities using the ARN to compute the entity.guid
aws.Arn:
aws.lambda.FunctionName: